diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-04-24 14:16:15 -0700 |
commit | 943a48fc5c0a59b892eb746073c71b8dd88815e7 (patch) | |
tree | 421cfedbc60603d02e0b314d9204e9f85dd781c5 /demoscript/Freeze/bench.py | |
parent | minor fix to IcePHP getLogger (diff) | |
download | ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.bz2 ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.tar.xz ice-943a48fc5c0a59b892eb746073c71b8dd88815e7.zip |
python 3 support
Diffstat (limited to 'demoscript/Freeze/bench.py')
-rwxr-xr-x | demoscript/Freeze/bench.py | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/demoscript/Freeze/bench.py b/demoscript/Freeze/bench.py index 79b1033fd13..06e35438da5 100755 --- a/demoscript/Freeze/bench.py +++ b/demoscript/Freeze/bench.py @@ -13,55 +13,55 @@ import sys def run(client, isJava=False): if isJava: client.expect('IntIntMap \\(Collections API\\)') - print "IntIntMap (Collections API):" + print("IntIntMap (Collections API):") client.expect('IntIntMap \\(Fast API\\)', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap (Fast API):" + print("IntIntMap (Fast API):") client.expect('IntIntMap with index \\(Collections API\\)', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap with index (Collections API):" + print("IntIntMap with index (Collections API):") client.expect('IntIntMap with index \\(Fast API\\)', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap with index (Fast API):" + print("IntIntMap with index (Fast API):") client.expect('Struct1Struct2Map', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) else: client.expect('IntIntMap') - print "IntIntMap:" + print("IntIntMap:") client.expect('IntIntMap with index', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap with index:" + print("IntIntMap with index:") client.expect('Struct1Struct2Map', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "Struct1Struct2Map:" + print("Struct1Struct2Map:") client.expect('Struct1Struct2Map with index', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "Struct1Struct2Map with index:" + print("Struct1Struct2Map with index:") client.expect('Struct1Class1Map', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "Struct1Class1Map:" + print("Struct1Class1Map:") client.expect('Struct1Class1Map with index', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "Struct1Class1Map with index:" + print("Struct1Class1Map with index:") client.expect('Struct1ObjectMap', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "Struct1ObjectMap:" + print("Struct1ObjectMap:") client.expect('IntIntMap \\(read test\\)', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap (read test):" + print("IntIntMap (read test):") client.expect('IntIntMap with index \\(read test\\)', timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) - print "IntIntMap with index (read test):" + print("IntIntMap with index (read test):") client.waitTestSuccess(timeout=200) - print "%s " % (client.before) + print("%s " % (client.before)) |