interested in are: - swig run without any special parameters - swig run with -O - swig run with -builtin git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
17 lines
404 B
Python
17 lines
404 B
Python
#!/usr/bin/env
|
|
|
|
import sys
|
|
from subprocess import *
|
|
|
|
proc = Popen([sys.executable, 'runme_baseline.py'], stdout=PIPE)
|
|
(stdout, stderr) = proc.communicate()
|
|
print stdout
|
|
|
|
proc = Popen([sys.executable, 'runme_optimized.py'], stdout=PIPE)
|
|
(stdout, stderr) = proc.communicate()
|
|
print stdout
|
|
|
|
proc = Popen([sys.executable, 'runme_builtin.py'], stdout=PIPE)
|
|
(stdout, stderr) = proc.communicate()
|
|
print stdout
|
|
|