Test operator overloads with deep hierarchy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5db5f109c7
commit
e5bf6419b2
10 changed files with 7033 additions and 0 deletions
17
Examples/python/performance/hierarchy_operator/runme.py
Normal file
17
Examples/python/performance/hierarchy_operator/runme.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue