diff options
author | Matthew Newhook <matthew@zeroc.com> | 2015-03-18 12:58:16 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2015-03-18 12:58:16 -0230 |
commit | 9b7668c7c92cf9cb311fe444cdddb489cd2a219d (patch) | |
tree | 5016567c58c81f5654e9d01935e199c6bf4761d2 /demoscript/Freeze/bench.py | |
parent | VS add-in & build updates: (diff) | |
download | ice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.tar.bz2 ice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.tar.xz ice-9b7668c7c92cf9cb311fe444cdddb489cd2a219d.zip |
Removed demos.
Moved demoscript to distribution.
Diffstat (limited to 'demoscript/Freeze/bench.py')
-rwxr-xr-x | demoscript/Freeze/bench.py | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/demoscript/Freeze/bench.py b/demoscript/Freeze/bench.py deleted file mode 100755 index 5f7105e51cd..00000000000 --- a/demoscript/Freeze/bench.py +++ /dev/null @@ -1,67 +0,0 @@ -#!/usr/bin/env python -# ********************************************************************** -# -# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. -# -# This copy of Ice is licensed to you under the terms described in the -# ICE_LICENSE file included in this distribution. -# -# ********************************************************************** - -import sys - -def run(client, isJava=False): - if isJava: - client.expect('IntIntMap \\(Collections API\\)') - print("IntIntMap (Collections API):") - client.expect('IntIntMap \\(Fast API\\)', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap (Fast API):") - client.expect('IntIntMap with index \\(Collections API\\)', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap with index (Collections API):") - client.expect('IntIntMap with index \\(Fast API\\)', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap with index (Fast API):") - client.expect('Struct1Struct2Map', timeout=200) - print("%s " % (client.before)) - else: - client.expect('IntIntMap') - print("IntIntMap:") - client.expect('IntIntMap with index', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap with index:") - client.expect('Struct1Struct2Map', timeout=200) - print("%s " % (client.before)) - - print("Struct1Struct2Map:") - client.expect('Struct1Struct2Map with index', timeout=200) - print("%s " % (client.before)) - - print("Struct1Struct2Map with index:") - client.expect('Struct1Class1Map', timeout=200) - print("%s " % (client.before)) - - print("Struct1Class1Map:") - client.expect('Struct1Class1Map with index', timeout=200) - print("%s " % (client.before)) - - print("Struct1Class1Map with index:") - client.expect('Struct1ObjectMap', timeout=200) - print("%s " % (client.before)) - - print("Struct1ObjectMap:") - client.expect('IntIntMap \\(read test\\)', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap (read test):") - client.expect('IntIntMap with index \\(read test\\)', timeout=200) - print("%s " % (client.before)) - - print("IntIntMap with index (read test):") - client.waitTestSuccess(timeout=200) - print("%s " % (client.before)) |