projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaner experiment results
[bluesky.git]
/
microbench
/
microbench.py
diff --git
a/microbench/microbench.py
b/microbench/microbench.py
index
313828a
..
f8b89ea
100755
(executable)
--- a/
microbench/microbench.py
+++ b/
microbench/microbench.py
@@
-74,6
+74,17
@@
class TestCommands:
return [time.time() - start]
return [time.time() - start]
+ def large_read(self):
+ buf = None
+
+ start = time.time()
+ fp = open("largefile")
+ while buf != "":
+ buf = fp.read(1048576)
+ fp.close()
+
+ return [time.time() - start]
+
def shell(self):
subprocess.call(['/bin/sh'])
def shell(self):
subprocess.call(['/bin/sh'])