summaryrefslogtreecommitdiffstats
path: root/runtime/bench2/run_bench
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/bench2/run_bench')
-rwxr-xr-xruntime/bench2/run_bench17
1 files changed, 11 insertions, 6 deletions
diff --git a/runtime/bench2/run_bench b/runtime/bench2/run_bench
index 1f868ced..dad8c8ae 100755
--- a/runtime/bench2/run_bench
+++ b/runtime/bench2/run_bench
@@ -13,18 +13,23 @@ test0.code = ""
test0.run
test0.print
+# script test to print 100 chars
+test2a = Stapbench.new("printf 100 chars")
+test2a.code = "printf(\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\")"
+test2a.run
+test2a.print
+
+test2a.trans = RELAYFS
+test2a.run
+test2a.print
+
# runtime test to print 100 chars
test2 = Bench.new("printf 100 chars")
-test2.code = "_stp_printf (\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\");
+test2.code = "(void)_stp_printf (\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\");
_stp_print_flush();"
test2.run
test2.print
-# script test to print 100 chars
-test2a = Stapbench.new("printf 100 chars")
-test2a.code = "printf(\"123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\n\")"
-test2a.run
-test2a.print
# runtime test to print 5 integers
test3 = Bench.new("printf 5 integers")