opal 1.6.1 → 1.7.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +17 -0
- data/Gemfile +1 -0
- data/HACKING.md +47 -26
- data/UNRELEASED.md +28 -0
- data/benchmark/benchmarks +415 -103
- data/benchmark/bm_call_overhead.yml +28 -0
- data/benchmark/run.rb +61 -40
- data/docs/cdp_common.json +3364 -0
- data/docs/cdp_common.md +18 -0
- data/docs/{headless_chrome.md → headless_browsers.md} +31 -12
- data/lib/opal/ast/builder.rb +1 -1
- data/lib/opal/builder.rb +6 -1
- data/lib/opal/builder_processors.rb +5 -3
- data/lib/opal/cache.rb +1 -7
- data/lib/opal/cli_options.rb +72 -58
- data/lib/opal/cli_runners/chrome.rb +47 -9
- data/lib/opal/cli_runners/chrome_cdp_interface.rb +238 -112
- data/lib/opal/cli_runners/compiler.rb +146 -13
- data/lib/opal/cli_runners/deno.rb +32 -0
- data/lib/opal/cli_runners/firefox.rb +350 -0
- data/lib/opal/cli_runners/firefox_cdp_interface.rb +212 -0
- data/lib/opal/cli_runners/node_modules/.bin/chrome-remote-interface.cmd +17 -0
- data/lib/opal/cli_runners/node_modules/.bin/chrome-remote-interface.ps1 +28 -0
- data/lib/opal/cli_runners/node_modules/.package-lock.json +41 -0
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/LICENSE +1 -1
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/README.md +322 -182
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/bin/client.js +99 -114
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/chrome-remote-interface.js +1 -11
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/index.js +16 -11
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/api.js +41 -33
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/chrome.js +224 -214
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/devtools.js +71 -191
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/external-request.js +26 -6
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/protocol.json +20788 -9049
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/lib/websocket-wrapper.js +10 -3
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/package.json +59 -123
- data/lib/opal/cli_runners/node_modules/chrome-remote-interface/webpack.config.js +25 -32
- data/lib/opal/cli_runners/node_modules/commander/History.md +298 -0
- data/lib/opal/cli_runners/node_modules/commander/LICENSE +22 -0
- data/lib/opal/cli_runners/node_modules/commander/Readme.md +217 -61
- data/lib/opal/cli_runners/node_modules/commander/index.js +431 -145
- data/lib/opal/cli_runners/node_modules/commander/package.json +16 -79
- data/lib/opal/cli_runners/node_modules/ws/README.md +334 -98
- data/lib/opal/cli_runners/node_modules/ws/browser.js +8 -0
- data/lib/opal/cli_runners/node_modules/ws/index.js +5 -10
- data/lib/opal/cli_runners/node_modules/ws/lib/buffer-util.js +129 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/constants.js +10 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/event-target.js +184 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/extension.js +223 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/limiter.js +55 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/permessage-deflate.js +518 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/receiver.js +607 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/sender.js +409 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/stream.js +180 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/validation.js +104 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/websocket-server.js +447 -0
- data/lib/opal/cli_runners/node_modules/ws/lib/websocket.js +1195 -0
- data/lib/opal/cli_runners/node_modules/ws/package.json +40 -106
- data/lib/opal/cli_runners/package-lock.json +62 -0
- data/lib/opal/cli_runners/package.json +1 -1
- data/lib/opal/cli_runners.rb +26 -4
- data/lib/opal/nodes/args/prepare_post_args.rb +2 -2
- data/lib/opal/nodes/def.rb +8 -8
- data/lib/opal/nodes/iter.rb +12 -12
- data/lib/opal/nodes/logic.rb +1 -1
- data/lib/opal/nodes/masgn.rb +2 -2
- data/lib/opal/parser/with_ruby_lexer.rb +1 -1
- data/lib/opal/paths.rb +14 -0
- data/lib/opal/rewriter.rb +2 -0
- data/lib/opal/rewriters/forward_args.rb +52 -4
- data/lib/opal/rewriters/targeted_patches.rb +94 -0
- data/lib/opal/version.rb +1 -1
- data/opal/corelib/basic_object.rb +1 -1
- data/opal/corelib/boolean.rb +2 -2
- data/opal/corelib/class.rb +11 -0
- data/opal/corelib/constants.rb +3 -3
- data/opal/corelib/enumerable.rb +4 -0
- data/opal/corelib/enumerator.rb +1 -1
- data/opal/corelib/hash.rb +2 -2
- data/opal/corelib/helpers.rb +1 -1
- data/opal/corelib/kernel.rb +3 -3
- data/opal/corelib/method.rb +1 -1
- data/opal/corelib/module.rb +29 -8
- data/opal/corelib/proc.rb +7 -5
- data/opal/corelib/runtime.js +141 -78
- data/opal/corelib/set.rb +252 -0
- data/opal/corelib/string.rb +2 -1
- data/opal/corelib/time.rb +2 -2
- data/opal/opal.rb +1 -0
- data/opal.gemspec +1 -0
- data/spec/filters/bugs/array.rb +22 -13
- data/spec/filters/bugs/base64.rb +5 -5
- data/spec/filters/bugs/basicobject.rb +16 -8
- data/spec/filters/bugs/bigdecimal.rb +161 -160
- data/spec/filters/bugs/binding.rb +10 -10
- data/spec/filters/bugs/class.rb +8 -8
- data/spec/filters/bugs/complex.rb +2 -1
- data/spec/filters/bugs/date.rb +79 -81
- data/spec/filters/bugs/datetime.rb +29 -29
- data/spec/filters/bugs/delegate.rb +1 -3
- data/spec/filters/bugs/encoding.rb +69 -69
- data/spec/filters/bugs/enumerable.rb +22 -20
- data/spec/filters/bugs/enumerator.rb +88 -85
- data/spec/filters/bugs/exception.rb +46 -40
- data/spec/filters/bugs/file.rb +32 -32
- data/spec/filters/bugs/float.rb +26 -21
- data/spec/filters/bugs/freeze.rb +88 -0
- data/spec/filters/bugs/hash.rb +39 -38
- data/spec/filters/bugs/integer.rb +57 -44
- data/spec/filters/bugs/io.rb +1 -1
- data/spec/filters/bugs/kernel.rb +349 -269
- data/spec/filters/bugs/language.rb +220 -188
- data/spec/filters/bugs/main.rb +5 -3
- data/spec/filters/bugs/marshal.rb +38 -38
- data/spec/filters/bugs/math.rb +2 -1
- data/spec/filters/bugs/method.rb +73 -62
- data/spec/filters/bugs/module.rb +163 -143
- data/spec/filters/bugs/numeric.rb +6 -6
- data/spec/filters/bugs/objectspace.rb +16 -16
- data/spec/filters/bugs/openstruct.rb +1 -1
- data/spec/filters/bugs/pack_unpack.rb +51 -51
- data/spec/filters/bugs/pathname.rb +7 -7
- data/spec/filters/bugs/proc.rb +63 -63
- data/spec/filters/bugs/random.rb +7 -6
- data/spec/filters/bugs/range.rb +12 -9
- data/spec/filters/bugs/rational.rb +8 -7
- data/spec/filters/bugs/regexp.rb +49 -48
- data/spec/filters/bugs/ruby-32.rb +56 -0
- data/spec/filters/bugs/set.rb +30 -30
- data/spec/filters/bugs/singleton.rb +4 -4
- data/spec/filters/bugs/string.rb +187 -99
- data/spec/filters/bugs/stringio.rb +7 -0
- data/spec/filters/bugs/stringscanner.rb +68 -68
- data/spec/filters/bugs/struct.rb +11 -9
- data/spec/filters/bugs/symbol.rb +1 -1
- data/spec/filters/bugs/time.rb +78 -63
- data/spec/filters/bugs/trace_point.rb +4 -4
- data/spec/filters/bugs/unboundmethod.rb +32 -17
- data/spec/filters/bugs/warnings.rb +8 -12
- data/spec/filters/unsupported/array.rb +24 -107
- data/spec/filters/unsupported/basicobject.rb +12 -12
- data/spec/filters/unsupported/bignum.rb +27 -52
- data/spec/filters/unsupported/class.rb +1 -2
- data/spec/filters/unsupported/delegator.rb +3 -3
- data/spec/filters/unsupported/enumerable.rb +2 -9
- data/spec/filters/unsupported/enumerator.rb +2 -11
- data/spec/filters/unsupported/file.rb +1 -1
- data/spec/filters/unsupported/float.rb +28 -47
- data/spec/filters/unsupported/hash.rb +8 -14
- data/spec/filters/unsupported/integer.rb +75 -91
- data/spec/filters/unsupported/kernel.rb +17 -35
- data/spec/filters/unsupported/language.rb +11 -19
- data/spec/filters/unsupported/marshal.rb +22 -41
- data/spec/filters/unsupported/matchdata.rb +28 -52
- data/spec/filters/unsupported/math.rb +1 -1
- data/spec/filters/unsupported/privacy.rb +229 -285
- data/spec/filters/unsupported/range.rb +1 -5
- data/spec/filters/unsupported/regexp.rb +40 -66
- data/spec/filters/unsupported/set.rb +2 -2
- data/spec/filters/unsupported/singleton.rb +4 -4
- data/spec/filters/unsupported/string.rb +305 -508
- data/spec/filters/unsupported/struct.rb +3 -4
- data/spec/filters/unsupported/symbol.rb +15 -18
- data/spec/filters/unsupported/thread.rb +1 -7
- data/spec/filters/unsupported/time.rb +159 -202
- data/spec/filters/unsupported/usage_of_files.rb +170 -259
- data/spec/lib/builder_spec.rb +4 -4
- data/spec/lib/rewriters/forward_args_spec.rb +32 -12
- data/spec/mspec-opal/runner.rb +2 -0
- data/spec/ruby_specs +4 -0
- data/stdlib/deno/base.rb +28 -0
- data/stdlib/deno/file.rb +340 -0
- data/stdlib/{headless_chrome.rb → headless_browser/base.rb} +1 -1
- data/stdlib/headless_browser/file.rb +15 -0
- data/stdlib/headless_browser.rb +4 -0
- data/stdlib/native.rb +1 -1
- data/stdlib/nodejs/file.rb +5 -0
- data/stdlib/opal/platform.rb +8 -6
- data/stdlib/opal-platform.rb +14 -8
- data/stdlib/set.rb +1 -258
- data/tasks/benchmarking.rake +62 -19
- data/tasks/performance.rake +1 -1
- data/tasks/testing.rake +5 -3
- data/test/nodejs/test_file.rb +29 -10
- data/test/opal/http_server.rb +28 -11
- data/test/opal/unsupported_and_bugs.rb +2 -1
- metadata +91 -52
- data/lib/opal/cli_runners/node_modules/ultron/LICENSE +0 -22
- data/lib/opal/cli_runners/node_modules/ultron/index.js +0 -138
- data/lib/opal/cli_runners/node_modules/ultron/package.json +0 -112
- data/lib/opal/cli_runners/node_modules/ws/SECURITY.md +0 -33
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.fallback.js +0 -56
- data/lib/opal/cli_runners/node_modules/ws/lib/BufferUtil.js +0 -15
- data/lib/opal/cli_runners/node_modules/ws/lib/ErrorCodes.js +0 -28
- data/lib/opal/cli_runners/node_modules/ws/lib/EventTarget.js +0 -158
- data/lib/opal/cli_runners/node_modules/ws/lib/Extensions.js +0 -69
- data/lib/opal/cli_runners/node_modules/ws/lib/PerMessageDeflate.js +0 -339
- data/lib/opal/cli_runners/node_modules/ws/lib/Receiver.js +0 -520
- data/lib/opal/cli_runners/node_modules/ws/lib/Sender.js +0 -438
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.fallback.js +0 -9
- data/lib/opal/cli_runners/node_modules/ws/lib/Validation.js +0 -17
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocket.js +0 -705
- data/lib/opal/cli_runners/node_modules/ws/lib/WebSocketServer.js +0 -336
- data/spec/filters/bugs/boolean.rb +0 -3
- data/spec/filters/bugs/matrix.rb +0 -3
- data/spec/filters/unsupported/fixnum.rb +0 -15
- data/spec/filters/unsupported/freeze.rb +0 -102
- data/spec/filters/unsupported/pathname.rb +0 -4
- data/spec/filters/unsupported/proc.rb +0 -4
- data/spec/filters/unsupported/random.rb +0 -5
- data/spec/filters/unsupported/taint.rb +0 -162
data/benchmark/benchmarks
CHANGED
@@ -1,103 +1,415 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
#
|
4
|
-
test/cruby/benchmark/
|
5
|
-
test/cruby/benchmark/
|
6
|
-
|
7
|
-
|
8
|
-
#
|
9
|
-
#
|
10
|
-
test/cruby/benchmark/
|
11
|
-
test/cruby/benchmark/
|
12
|
-
test/cruby/benchmark/
|
13
|
-
|
14
|
-
#
|
15
|
-
test/cruby/benchmark/
|
16
|
-
test/cruby/benchmark/
|
17
|
-
|
18
|
-
#
|
19
|
-
test/cruby/benchmark/
|
20
|
-
#
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
test/cruby/benchmark/
|
26
|
-
test/cruby/benchmark/
|
27
|
-
test/cruby/benchmark/
|
28
|
-
test/cruby/benchmark/
|
29
|
-
|
30
|
-
test/cruby/benchmark/
|
31
|
-
test/cruby/benchmark/
|
32
|
-
test/cruby/benchmark/
|
33
|
-
|
34
|
-
test/cruby/benchmark/
|
35
|
-
|
36
|
-
|
37
|
-
#
|
38
|
-
|
39
|
-
#
|
40
|
-
#
|
41
|
-
|
42
|
-
|
43
|
-
test/cruby/benchmark/
|
44
|
-
|
45
|
-
test/cruby/benchmark/
|
46
|
-
|
47
|
-
#
|
48
|
-
test/cruby/benchmark/
|
49
|
-
|
50
|
-
|
51
|
-
test/cruby/benchmark/
|
52
|
-
|
53
|
-
|
54
|
-
test/cruby/benchmark/
|
55
|
-
|
56
|
-
|
57
|
-
#
|
58
|
-
test/cruby/benchmark/
|
59
|
-
test/cruby/benchmark/
|
60
|
-
test/cruby/benchmark/
|
61
|
-
test/cruby/benchmark/
|
62
|
-
test/cruby/benchmark/
|
63
|
-
test/cruby/benchmark/
|
64
|
-
test/cruby/benchmark/
|
65
|
-
test/cruby/benchmark/
|
66
|
-
test/cruby/benchmark/
|
67
|
-
test/cruby/benchmark/
|
68
|
-
test/cruby/benchmark/
|
69
|
-
test/cruby/benchmark/
|
70
|
-
test/cruby/benchmark/
|
71
|
-
test/cruby/benchmark/
|
72
|
-
test/cruby/benchmark/
|
73
|
-
test/cruby/benchmark/
|
74
|
-
test/cruby/benchmark/
|
75
|
-
test/cruby/benchmark/
|
76
|
-
test/cruby/benchmark/
|
77
|
-
test/cruby/benchmark/
|
78
|
-
test/cruby/benchmark/
|
79
|
-
test/cruby/benchmark/
|
80
|
-
test/cruby/benchmark/
|
81
|
-
test/cruby/benchmark/
|
82
|
-
#
|
83
|
-
test/cruby/benchmark/
|
84
|
-
test/cruby/benchmark/
|
85
|
-
test/cruby/benchmark/
|
86
|
-
test/cruby/benchmark/
|
87
|
-
test/cruby/benchmark/
|
88
|
-
test/cruby/benchmark/
|
89
|
-
test/cruby/benchmark/
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
test/cruby/benchmark/
|
94
|
-
test/cruby/benchmark/
|
95
|
-
test/cruby/benchmark/
|
96
|
-
test/cruby/benchmark/
|
97
|
-
test/cruby/benchmark/
|
98
|
-
test/cruby/benchmark/
|
99
|
-
test/cruby/benchmark/
|
100
|
-
test/cruby/benchmark/
|
101
|
-
test/cruby/benchmark/
|
102
|
-
|
103
|
-
test/cruby/benchmark/
|
1
|
+
# MRI Benchmarks
|
2
|
+
test/cruby/benchmark/app_answer.rb
|
3
|
+
# ERROR test/cruby/benchmark/app_aobench.rb
|
4
|
+
# ERROR test/cruby/benchmark/app_erb.yml
|
5
|
+
test/cruby/benchmark/app_factorial.rb
|
6
|
+
test/cruby/benchmark/app_fib.rb
|
7
|
+
test/cruby/benchmark/app_lc_fizzbuzz.rb
|
8
|
+
# ERROR test/cruby/benchmark/app_mandelbrot.rb
|
9
|
+
# ERROR taking too long test/cruby/benchmark/app_pentomino.rb
|
10
|
+
test/cruby/benchmark/app_raise.rb
|
11
|
+
test/cruby/benchmark/app_strconcat.rb
|
12
|
+
test/cruby/benchmark/app_tak.rb
|
13
|
+
test/cruby/benchmark/app_tarai.rb
|
14
|
+
# ERROR "`method_missing_stub': undefined method `parse' for URI (NoMethodError)" test/cruby/benchmark/app_uri.rb
|
15
|
+
test/cruby/benchmark/array_flatten.yml
|
16
|
+
# ERROR taking too long test/cruby/benchmark/array_intersection.yml
|
17
|
+
test/cruby/benchmark/array_max_float.yml
|
18
|
+
# ERROR taking too long test/cruby/benchmark/array_max_int.yml
|
19
|
+
# ERROR taking too long test/cruby/benchmark/array_max_str.yml
|
20
|
+
# ERROR taking too long test/cruby/benchmark/array_min.yml
|
21
|
+
test/cruby/benchmark/array_sample.yml
|
22
|
+
test/cruby/benchmark/array_sample_100k_10.rb
|
23
|
+
test/cruby/benchmark/array_sample_100k_11.rb
|
24
|
+
test/cruby/benchmark/array_sample_100k__100.rb
|
25
|
+
test/cruby/benchmark/array_sample_100k__1k.rb
|
26
|
+
test/cruby/benchmark/array_sample_100k__6k.rb
|
27
|
+
test/cruby/benchmark/array_sample_100k___10k.rb
|
28
|
+
test/cruby/benchmark/array_sample_100k___50k.rb
|
29
|
+
test/cruby/benchmark/array_shift.rb
|
30
|
+
test/cruby/benchmark/array_small_and.rb
|
31
|
+
test/cruby/benchmark/array_small_diff.rb
|
32
|
+
test/cruby/benchmark/array_small_or.rb
|
33
|
+
test/cruby/benchmark/array_sort_block.rb
|
34
|
+
test/cruby/benchmark/array_sort_float.rb
|
35
|
+
test/cruby/benchmark/array_values_at_int.rb
|
36
|
+
test/cruby/benchmark/array_values_at_range.rb
|
37
|
+
# ERROR "" test/cruby/benchmark/attr_accessor.yml
|
38
|
+
test/cruby/benchmark/bighash.rb
|
39
|
+
# ERROR "`const_missing': uninitialized constant IO::Buffer (NameError)" test/cruby/benchmark/buffer_get.yml
|
40
|
+
# ERROR "A file required by "benchmark_driver-20221101-30992-g979qr.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/cgi_escape_html.yml
|
41
|
+
test/cruby/benchmark/complex_float_add.yml
|
42
|
+
test/cruby/benchmark/complex_float_div.yml
|
43
|
+
test/cruby/benchmark/complex_float_mul.yml
|
44
|
+
test/cruby/benchmark/complex_float_new.yml
|
45
|
+
test/cruby/benchmark/complex_float_power.yml
|
46
|
+
test/cruby/benchmark/complex_float_sub.yml
|
47
|
+
# ERROR "A file required by "benchmark_driver-20221031-14300-9apv1m.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/dir_empty_p.rb
|
48
|
+
# ERROR taking too long test/cruby/benchmark/enum_lazy_flat_map.yml
|
49
|
+
test/cruby/benchmark/enum_lazy_grep_v_100.rb
|
50
|
+
test/cruby/benchmark/enum_lazy_grep_v_20.rb
|
51
|
+
test/cruby/benchmark/enum_lazy_grep_v_50.rb
|
52
|
+
test/cruby/benchmark/enum_lazy_uniq_100.rb
|
53
|
+
test/cruby/benchmark/enum_lazy_uniq_20.rb
|
54
|
+
test/cruby/benchmark/enum_lazy_uniq_50.rb
|
55
|
+
test/cruby/benchmark/enum_lazy_zip.yml
|
56
|
+
test/cruby/benchmark/enum_tally.yml
|
57
|
+
# ERROR "`method_missing_stub': undefined method `src' for #<ERB:0x38> (NoMethodError)" test/cruby/benchmark/erb_render.yml
|
58
|
+
# ERROR "`const_missing': uninitialized constant Fiber (NameError)" test/cruby/benchmark/fiber_chain.yml
|
59
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/fiber_locals.yml
|
60
|
+
# ERROR "A file required by "benchmark_driver-20221031-3780-dvhs8b.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/file_chmod.rb
|
61
|
+
# ERROR "A file required by "benchmark_driver-20221101-21000-dq40yq.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/file_rename.rb
|
62
|
+
test/cruby/benchmark/float_methods.yml
|
63
|
+
test/cruby/benchmark/float_neg_posi.yml
|
64
|
+
test/cruby/benchmark/float_to_s.yml
|
65
|
+
test/cruby/benchmark/gc/aobench.rb
|
66
|
+
test/cruby/benchmark/gc/binary_trees.rb
|
67
|
+
test/cruby/benchmark/gc/gcbench.rb
|
68
|
+
test/cruby/benchmark/gc/hash1.rb
|
69
|
+
test/cruby/benchmark/gc/hash2.rb
|
70
|
+
test/cruby/benchmark/gc/null.rb
|
71
|
+
test/cruby/benchmark/gc/pentomino.rb
|
72
|
+
test/cruby/benchmark/gc/rdoc.rb
|
73
|
+
test/cruby/benchmark/gc/redblack.rb
|
74
|
+
test/cruby/benchmark/gc/ring.rb
|
75
|
+
test/cruby/benchmark/hash_aref_array.rb
|
76
|
+
test/cruby/benchmark/hash_aref_dsym.rb
|
77
|
+
test/cruby/benchmark/hash_aref_dsym_long.rb
|
78
|
+
test/cruby/benchmark/hash_aref_fix.rb
|
79
|
+
test/cruby/benchmark/hash_aref_flo.rb
|
80
|
+
test/cruby/benchmark/hash_aref_miss.rb
|
81
|
+
test/cruby/benchmark/hash_aref_str.rb
|
82
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/hash_aref_sym.rb
|
83
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/hash_aref_sym_long.rb
|
84
|
+
test/cruby/benchmark/hash_defaults.yml
|
85
|
+
test/cruby/benchmark/hash_dup.yml
|
86
|
+
# ERROR taking too long test/cruby/benchmark/hash_first.yml
|
87
|
+
test/cruby/benchmark/hash_flatten.rb
|
88
|
+
test/cruby/benchmark/hash_ident_flo.rb
|
89
|
+
test/cruby/benchmark/hash_ident_num.rb
|
90
|
+
test/cruby/benchmark/hash_ident_obj.rb
|
91
|
+
test/cruby/benchmark/hash_ident_str.rb
|
92
|
+
test/cruby/benchmark/hash_ident_sym.rb
|
93
|
+
test/cruby/benchmark/hash_keys.rb
|
94
|
+
test/cruby/benchmark/hash_literal_small2.rb
|
95
|
+
test/cruby/benchmark/hash_literal_small4.rb
|
96
|
+
test/cruby/benchmark/hash_literal_small8.rb
|
97
|
+
test/cruby/benchmark/hash_long.rb
|
98
|
+
test/cruby/benchmark/hash_shift.rb
|
99
|
+
# ERROR taking too long test/cruby/benchmark/hash_shift_u16.rb
|
100
|
+
# ERROR taking too long test/cruby/benchmark/hash_shift_u24.rb
|
101
|
+
# ERROR taking too long test/cruby/benchmark/hash_shift_u32.rb
|
102
|
+
test/cruby/benchmark/hash_small2.rb
|
103
|
+
test/cruby/benchmark/hash_small4.rb
|
104
|
+
test/cruby/benchmark/hash_small8.rb
|
105
|
+
test/cruby/benchmark/hash_to_proc.rb
|
106
|
+
test/cruby/benchmark/hash_values.rb
|
107
|
+
test/cruby/benchmark/int_quo.rb
|
108
|
+
# ERROR "A file required by "benchmark_driver-20221031-15544-v0c8lf.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/io_copy_stream_write.rb
|
109
|
+
# ERROR "A file required by "benchmark_driver-20221101-55300-3srwe6.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/io_copy_stream_write_socket.rb
|
110
|
+
test/cruby/benchmark/io_file_create.rb
|
111
|
+
# ERROR "A file required by "benchmark_driver-20221101-43572-n93s0c.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/io_file_read.rb
|
112
|
+
# ERROR "A file required by "benchmark_driver-20221031-15544-v0c8lf.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/io_file_write.rb
|
113
|
+
# ERROR "`method_missing_stub': undefined method `close' for nil (NoMethodError)" test/cruby/benchmark/io_nonblock_noex.rb
|
114
|
+
# ERROR "`method_missing_stub': undefined method `close' for nil (NoMethodError)" test/cruby/benchmark/io_nonblock_noex2.rb
|
115
|
+
# ERROR "`method_missing_stub': undefined method `pipe' for IO (NoMethodError)" test/cruby/benchmark/io_pipe_rw.rb
|
116
|
+
# ERROR "`method_missing_stub': undefined method `pipe' for IO (NoMethodError)" test/cruby/benchmark/io_select.rb
|
117
|
+
# ERROR "`method_missing_stub': undefined method `pipe' for IO (NoMethodError)" test/cruby/benchmark/io_select2.rb
|
118
|
+
# ERROR "`method_missing_stub': undefined method `pipe' for IO (NoMethodError)" test/cruby/benchmark/io_select3.rb
|
119
|
+
# ERROR "A file required by "benchmark_driver-20221101-45364-tuqsig.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/irb_color.yml
|
120
|
+
# ERROR "`method_missing_stub': undefined method `ruby' for RbConfig (NoMethodError)" test/cruby/benchmark/irb_exec.yml
|
121
|
+
# ERROR "`const_missing': uninitialized constant RubyVM (NameError)" test/cruby/benchmark/iseq_load_from_binary.yml
|
122
|
+
test/cruby/benchmark/ivar_extend.yml
|
123
|
+
test/cruby/benchmark/kernel_clone.yml
|
124
|
+
test/cruby/benchmark/kernel_float.yml
|
125
|
+
test/cruby/benchmark/kernel_tap.yml
|
126
|
+
test/cruby/benchmark/kernel_then.yml
|
127
|
+
test/cruby/benchmark/keyword_arguments.yml
|
128
|
+
test/cruby/benchmark/loop_for.rb
|
129
|
+
# ERROR "can't find file: "generator" in:" test/cruby/benchmark/loop_generator.rb
|
130
|
+
test/cruby/benchmark/loop_times.rb
|
131
|
+
test/cruby/benchmark/loop_whileloop.rb
|
132
|
+
test/cruby/benchmark/loop_whileloop2.rb
|
133
|
+
# ERROR "`const_missing': uninitialized constant Marshal (NameError)" test/cruby/benchmark/marshal_dump_flo.rb
|
134
|
+
# ERROR "`const_missing': uninitialized constant Marshal (NameError)" test/cruby/benchmark/marshal_dump_load_geniv.rb
|
135
|
+
# ERROR "`const_missing': uninitialized constant Marshal (NameError)" test/cruby/benchmark/marshal_dump_load_time.rb
|
136
|
+
# ERROR "" test/cruby/benchmark/masgn.yml
|
137
|
+
test/cruby/benchmark/match_gt4.rb
|
138
|
+
test/cruby/benchmark/match_small.rb
|
139
|
+
test/cruby/benchmark/method_bind_call.yml
|
140
|
+
# ERROR "" test/cruby/benchmark/mjit_exec_jt2jt.yml
|
141
|
+
# ERROR "" test/cruby/benchmark/mjit_exec_vm2jt.yml
|
142
|
+
# ERROR "" test/cruby/benchmark/mjit_exec_vm2vm.yml
|
143
|
+
test/cruby/benchmark/mjit_exivar.yml
|
144
|
+
test/cruby/benchmark/mjit_integer.yml
|
145
|
+
test/cruby/benchmark/mjit_kernel.yml
|
146
|
+
test/cruby/benchmark/mjit_leave.yml
|
147
|
+
# ERROR "" test/cruby/benchmark/mjit_opt_cc_insns.yml
|
148
|
+
test/cruby/benchmark/mjit_struct_aref.yml
|
149
|
+
# ERROR "" test/cruby/benchmark/nilclass.yml
|
150
|
+
# ERROR "" test/cruby/benchmark/nil_p.yml
|
151
|
+
# ERROR "" test/cruby/benchmark/numeric_methods.yml
|
152
|
+
test/cruby/benchmark/num_zero_p.yml
|
153
|
+
# ERROR "`method_missing_stub': undefined method `disable' for GC (NoMethodError)" test/cruby/benchmark/object_allocate.yml
|
154
|
+
# ERROR "A file required by "benchmark_driver-20221031-11376-ajdnqp.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/objspace_dump_all.yml
|
155
|
+
# ERROR "" test/cruby/benchmark/pm_array.yml
|
156
|
+
# ERROR "`const_missing': uninitialized constant Warning (NameError)" test/cruby/benchmark/ractor_const.yml
|
157
|
+
# ERROR "`const_missing': uninitialized constant Warning (NameError)" test/cruby/benchmark/ractor_float_to_s.yml
|
158
|
+
test/cruby/benchmark/range_last.yml
|
159
|
+
# ERROR "" test/cruby/benchmark/realpath.yml
|
160
|
+
# ERROR "A file required by "benchmark_driver-20221101-52500-y0t5y0.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/require.yml
|
161
|
+
# ERROR "A file required by "benchmark_driver-20221101-19204-90ls9v.rb" wasn't found. (Opal::Builder::MissingRequire)" test/cruby/benchmark/require_thread.yml
|
162
|
+
test/cruby/benchmark/securerandom.rb
|
163
|
+
test/cruby/benchmark/so_ackermann.rb
|
164
|
+
test/cruby/benchmark/so_array.rb
|
165
|
+
# ERROR "Cannot read properties of undefined (reading '$puts') (Exception)" test/cruby/benchmark/so_binary_trees.rb
|
166
|
+
# ERROR "String#<< not supported. Mutable String methods are not supported in Opal. (NotImplementedError)" test/cruby/benchmark/so_concatenate.rb
|
167
|
+
# ERROR "`Opal.type_error': no implicit conversion of NilClass into String (TypeError)" test/cruby/benchmark/so_count_words.yml
|
168
|
+
test/cruby/benchmark/so_exception.rb
|
169
|
+
test/cruby/benchmark/so_fannkuch.rb
|
170
|
+
# ERROR "String#slice! not supported" test/cruby/benchmark/so_fasta.rb
|
171
|
+
# ERROR "`Opal.type_error': no implicit conversion of NilClass into String (TypeError)" test/cruby/benchmark/so_k_nucleotide.yml
|
172
|
+
test/cruby/benchmark/so_lists.rb
|
173
|
+
test/cruby/benchmark/so_mandelbrot.rb
|
174
|
+
test/cruby/benchmark/so_matrix.rb
|
175
|
+
# ERROR "Maximum call stack size exceeded (Exception)" test/cruby/benchmark/so_meteor_contest.rb
|
176
|
+
test/cruby/benchmark/so_nbody.rb
|
177
|
+
test/cruby/benchmark/so_nested_loop.rb
|
178
|
+
# ERROR "`abs': To use String#unpack, you must first require 'corelib/string/unpack'. (RuntimeError)" test/cruby/benchmark/so_nsieve.rb
|
179
|
+
# ERROR "String#<< not supported. Mutable String methods are not supported in Opal. (NotImplementedError)" test/cruby/benchmark/so_nsieve_bits.rb
|
180
|
+
test/cruby/benchmark/so_object.rb
|
181
|
+
test/cruby/benchmark/so_partial_sums.rb
|
182
|
+
# ERROR "`compose': Maximum call stack size exceeded (Exception)" test/cruby/benchmark/so_pidigits.rb
|
183
|
+
test/cruby/benchmark/so_random.rb
|
184
|
+
# ERROR "`Opal.type_error': no implicit conversion of NilClass into String (TypeError)" test/cruby/benchmark/so_reverse_complement.yml
|
185
|
+
test/cruby/benchmark/so_sieve.rb
|
186
|
+
test/cruby/benchmark/so_spectralnorm.rb
|
187
|
+
test/cruby/benchmark/string_capitalize.yml
|
188
|
+
test/cruby/benchmark/string_casecmp.yml
|
189
|
+
test/cruby/benchmark/string_casecmp_p.yml
|
190
|
+
test/cruby/benchmark/string_downcase.yml
|
191
|
+
test/cruby/benchmark/string_index.rb
|
192
|
+
test/cruby/benchmark/string_scan_re.rb
|
193
|
+
test/cruby/benchmark/string_scan_str.rb
|
194
|
+
# ERROR "`Opal.send2': String#slice! not supported. Mutable String methods are not supported in Opal. (NotImplementedError)" test/cruby/benchmark/string_slice.yml
|
195
|
+
test/cruby/benchmark/string_split.yml
|
196
|
+
test/cruby/benchmark/string_swapcase.yml
|
197
|
+
# ERROR taking too long test/cruby/benchmark/string_upcase.yml
|
198
|
+
# ERROR "" test/cruby/benchmark/time_at.yml
|
199
|
+
test/cruby/benchmark/time_new.yml
|
200
|
+
# ERROR "" test/cruby/benchmark/time_parse.yml
|
201
|
+
# ERROR "" test/cruby/benchmark/time_strptime.yml
|
202
|
+
# ERROR "`method_missing_stub': undefined method `subsec' for 2022-11-01 03:01:27 +0100 (NoMethodError)" test/cruby/benchmark/time_subsec.rb
|
203
|
+
# ERROR "" test/cruby/benchmark/vm_array.yml
|
204
|
+
test/cruby/benchmark/vm_attr_ivar.yml
|
205
|
+
test/cruby/benchmark/vm_attr_ivar_set.yml
|
206
|
+
test/cruby/benchmark/vm_backtrace.rb
|
207
|
+
# ERROR "" test/cruby/benchmark/vm_bigarray.yml
|
208
|
+
test/cruby/benchmark/vm_bighash.yml
|
209
|
+
test/cruby/benchmark/vm_block.yml
|
210
|
+
test/cruby/benchmark/vm_blockparam.yml
|
211
|
+
test/cruby/benchmark/vm_blockparam_call.yml
|
212
|
+
test/cruby/benchmark/vm_blockparam_pass.yml
|
213
|
+
test/cruby/benchmark/vm_blockparam_yield.yml
|
214
|
+
test/cruby/benchmark/vm_block_handler.yml
|
215
|
+
# ERROR "" test/cruby/benchmark/vm_case.yml
|
216
|
+
test/cruby/benchmark/vm_case_classes.yml
|
217
|
+
test/cruby/benchmark/vm_case_lit.yml
|
218
|
+
# ERROR taking too long test/cruby/benchmark/vm_clearmethodcache.rb
|
219
|
+
test/cruby/benchmark/vm_const.yml
|
220
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/vm_cvar.yml
|
221
|
+
test/cruby/benchmark/vm_defined_method.yml
|
222
|
+
test/cruby/benchmark/vm_dstr.yml
|
223
|
+
test/cruby/benchmark/vm_dstr_ary.rb
|
224
|
+
test/cruby/benchmark/vm_dstr_bool.rb
|
225
|
+
test/cruby/benchmark/vm_dstr_class_module.rb
|
226
|
+
test/cruby/benchmark/vm_dstr_digit.rb
|
227
|
+
test/cruby/benchmark/vm_dstr_int.rb
|
228
|
+
test/cruby/benchmark/vm_dstr_nil.rb
|
229
|
+
test/cruby/benchmark/vm_dstr_obj.rb
|
230
|
+
test/cruby/benchmark/vm_dstr_obj_def.rb
|
231
|
+
test/cruby/benchmark/vm_dstr_str.rb
|
232
|
+
test/cruby/benchmark/vm_dstr_sym.rb
|
233
|
+
test/cruby/benchmark/vm_ensure.yml
|
234
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/vm_eval.yml
|
235
|
+
# ERROR "`method_missing_stub': undefined method `disable' for GC (NoMethodError)" test/cruby/benchmark/vm_fiber_allocate.yml
|
236
|
+
# ERROR "`const_missing': uninitialized constant Fiber (NameError)" test/cruby/benchmark/vm_fiber_count.yml
|
237
|
+
# ERROR "`method_missing_stub': undefined method `disable' for GC (NoMethodError)" test/cruby/benchmark/vm_fiber_reuse.yml
|
238
|
+
# ERROR "`const_missing': uninitialized constant Fiber (NameError)" test/cruby/benchmark/vm_fiber_reuse_gc.yml
|
239
|
+
# ERROR "`const_missing': uninitialized constant Fiber (NameError)" test/cruby/benchmark/vm_fiber_switch.yml
|
240
|
+
test/cruby/benchmark/vm_float_simple.yml
|
241
|
+
test/cruby/benchmark/vm_freezestring.yml
|
242
|
+
test/cruby/benchmark/vm_gc.rb
|
243
|
+
test/cruby/benchmark/vm_gc_old_full.rb
|
244
|
+
test/cruby/benchmark/vm_gc_old_immediate.rb
|
245
|
+
test/cruby/benchmark/vm_gc_old_lazy.rb
|
246
|
+
test/cruby/benchmark/vm_gc_short_lived.yml
|
247
|
+
# ERROR "" test/cruby/benchmark/vm_gc_short_with_complex_long.yml
|
248
|
+
# ERROR "" test/cruby/benchmark/vm_gc_short_with_long.yml
|
249
|
+
# ERROR "" test/cruby/benchmark/vm_gc_short_with_symbol.yml
|
250
|
+
test/cruby/benchmark/vm_gc_wb_ary.yml
|
251
|
+
test/cruby/benchmark/vm_gc_wb_ary_promoted.yml
|
252
|
+
test/cruby/benchmark/vm_gc_wb_obj.yml
|
253
|
+
test/cruby/benchmark/vm_gc_wb_obj_promoted.yml
|
254
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/vm_iclass_super.yml
|
255
|
+
test/cruby/benchmark/vm_ivar.yml
|
256
|
+
test/cruby/benchmark/vm_ivar_init.yml
|
257
|
+
test/cruby/benchmark/vm_ivar_of_class.yml
|
258
|
+
test/cruby/benchmark/vm_ivar_of_class_set.yml
|
259
|
+
test/cruby/benchmark/vm_ivar_set.yml
|
260
|
+
test/cruby/benchmark/vm_ivar_set_subclass.yml
|
261
|
+
test/cruby/benchmark/vm_length.yml
|
262
|
+
test/cruby/benchmark/vm_lvar_init.yml
|
263
|
+
test/cruby/benchmark/vm_lvar_set.yml
|
264
|
+
# ERROR "" test/cruby/benchmark/vm_method.yml
|
265
|
+
test/cruby/benchmark/vm_method_missing.yml
|
266
|
+
test/cruby/benchmark/vm_method_with_block.yml
|
267
|
+
test/cruby/benchmark/vm_module_ann_const_set.yml
|
268
|
+
test/cruby/benchmark/vm_module_const_set.yml
|
269
|
+
test/cruby/benchmark/vm_mutex.yml
|
270
|
+
test/cruby/benchmark/vm_neq.yml
|
271
|
+
test/cruby/benchmark/vm_newlambda.yml
|
272
|
+
test/cruby/benchmark/vm_not.yml
|
273
|
+
test/cruby/benchmark/vm_poly_method.yml
|
274
|
+
test/cruby/benchmark/vm_poly_method_ov.yml
|
275
|
+
# ERROR "" test/cruby/benchmark/vm_poly_same_method.yml
|
276
|
+
test/cruby/benchmark/vm_poly_singleton.yml
|
277
|
+
test/cruby/benchmark/vm_proc.yml
|
278
|
+
# ERROR taking too long test/cruby/benchmark/vm_raise1.yml
|
279
|
+
# ERROR taking too long test/cruby/benchmark/vm_raise2.yml
|
280
|
+
test/cruby/benchmark/vm_regexp.yml
|
281
|
+
# ERROR "" test/cruby/benchmark/vm_rescue.yml
|
282
|
+
test/cruby/benchmark/vm_send.yml
|
283
|
+
test/cruby/benchmark/vm_send_cfunc.yml
|
284
|
+
test/cruby/benchmark/vm_simplereturn.yml
|
285
|
+
# ERROR "" test/cruby/benchmark/vm_string_literal.yml
|
286
|
+
test/cruby/benchmark/vm_struct_big_aref_hi.yml
|
287
|
+
test/cruby/benchmark/vm_struct_big_aref_lo.yml
|
288
|
+
test/cruby/benchmark/vm_struct_big_aset.yml
|
289
|
+
test/cruby/benchmark/vm_struct_big_href_hi.yml
|
290
|
+
test/cruby/benchmark/vm_struct_big_href_lo.yml
|
291
|
+
test/cruby/benchmark/vm_struct_big_hset.yml
|
292
|
+
test/cruby/benchmark/vm_struct_small_aref.yml
|
293
|
+
test/cruby/benchmark/vm_struct_small_aset.yml
|
294
|
+
test/cruby/benchmark/vm_struct_small_href.yml
|
295
|
+
test/cruby/benchmark/vm_struct_small_hset.yml
|
296
|
+
test/cruby/benchmark/vm_super.yml
|
297
|
+
test/cruby/benchmark/vm_swap.yml
|
298
|
+
# ERROR "`raise': You need to provision opal-parser yourself in this environment (RuntimeError)" test/cruby/benchmark/vm_symbol_block_pass.rb
|
299
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/vm_thread_alive_check.yml
|
300
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/vm_thread_close.rb
|
301
|
+
# ERROR "`const_missing': uninitialized constant Thread::ConditionVariable (NameError)" test/cruby/benchmark/vm_thread_condvar1.rb
|
302
|
+
# ERROR "`const_missing': uninitialized constant Thread::ConditionVariable (NameError)" test/cruby/benchmark/vm_thread_condvar2.rb
|
303
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/vm_thread_create_join.rb
|
304
|
+
# ERROR "`Opal.send2': Thread creation not available (NotImplementedError)" test/cruby/benchmark/vm_thread_mutex1.rb
|
305
|
+
# ERROR "`Opal.send2': Thread creation not available (NotImplementedError)" test/cruby/benchmark/vm_thread_mutex2.rb
|
306
|
+
# ERROR "`Opal.send2': Thread creation not available (NotImplementedError)" test/cruby/benchmark/vm_thread_mutex3.rb
|
307
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/vm_thread_pass.rb
|
308
|
+
taking too long test/cruby/benchmark/vm_thread_pass_flood.rb
|
309
|
+
# ERROR "`method_missing_stub': undefined method `pipe' for IO (NoMethodError)" test/cruby/benchmark/vm_thread_pipe.rb
|
310
|
+
# ERROR "`Opal.send2': Thread creation not available (NotImplementedError)" test/cruby/benchmark/vm_thread_queue.rb
|
311
|
+
# ERROR "`const_missing': uninitialized constant Thread::SizedQueue (NameError)" test/cruby/benchmark/vm_thread_sized_queue.rb
|
312
|
+
# ERROR "`const_missing': uninitialized constant Thread::SizedQueue (NameError)" test/cruby/benchmark/vm_thread_sized_queue2.rb
|
313
|
+
# ERROR "`const_missing': uninitialized constant Thread::SizedQueue (NameError)" test/cruby/benchmark/vm_thread_sized_queue3.rb
|
314
|
+
# ERROR "`const_missing': uninitialized constant Thread::SizedQueue (NameError)" test/cruby/benchmark/vm_thread_sized_queue4.rb
|
315
|
+
# ERROR "`const_missing': uninitialized constant Thread (NameError)" test/cruby/benchmark/vm_thread_sleep.yml
|
316
|
+
# ERROR "" test/cruby/benchmark/vm_unif1.yml
|
317
|
+
test/cruby/benchmark/vm_yield.yml
|
318
|
+
test/cruby/benchmark/vm_zsuper.yml
|
319
|
+
# Opal Benchmarks
|
320
|
+
benchmark/bm_array_flatten.rb
|
321
|
+
benchmark/bm_array_intersection_numbers.rb
|
322
|
+
benchmark/bm_array_intersection_objects.rb
|
323
|
+
benchmark/bm_array_intersection_strings.rb
|
324
|
+
benchmark/bm_array_join_ary.rb
|
325
|
+
benchmark/bm_array_minus_numbers.rb
|
326
|
+
benchmark/bm_array_minus_objects.rb
|
327
|
+
benchmark/bm_array_minus_strings.rb
|
328
|
+
benchmark/bm_array_union_numbers.rb
|
329
|
+
benchmark/bm_array_union_objects.rb
|
330
|
+
benchmark/bm_array_union_strings.rb
|
331
|
+
benchmark/bm_array_uniq_bang_numbers.rb
|
332
|
+
benchmark/bm_array_uniq_bang_objects.rb
|
333
|
+
benchmark/bm_array_uniq_bang_strings.rb
|
334
|
+
benchmark/bm_array_uniq_numbers.rb
|
335
|
+
benchmark/bm_array_uniq_objects.rb
|
336
|
+
benchmark/bm_array_uniq_strings.rb
|
337
|
+
benchmark/bm_call_overhead.yml
|
338
|
+
benchmark/bm_constant_lookup_big.rb
|
339
|
+
benchmark/bm_constant_lookup_small.rb
|
340
|
+
benchmark/bm_dispatch_bind_table.rb
|
341
|
+
# ERROR "`options': undefined method `compile' for undefined (NoMethodError)" benchmark/bm_dispatch_code_gen.rb
|
342
|
+
# ERROR "`options': undefined method `compile' for undefined (NoMethodError)" benchmark/bm_dispatch_code_gen_if.rb
|
343
|
+
benchmark/bm_dispatch_hardcoded.rb
|
344
|
+
benchmark/bm_dispatch_send.rb
|
345
|
+
benchmark/bm_dispatch_send_table.rb
|
346
|
+
benchmark/bm_hash_assoc_object.rb
|
347
|
+
benchmark/bm_hash_assoc_string.rb
|
348
|
+
benchmark/bm_hash_clone_object.rb
|
349
|
+
benchmark/bm_hash_clone_string.rb
|
350
|
+
benchmark/bm_hash_delete_object.rb
|
351
|
+
benchmark/bm_hash_delete_string.rb
|
352
|
+
benchmark/bm_hash_each_key_object.rb
|
353
|
+
benchmark/bm_hash_each_key_string.rb
|
354
|
+
benchmark/bm_hash_each_object.rb
|
355
|
+
benchmark/bm_hash_each_string.rb
|
356
|
+
benchmark/bm_hash_each_value_object.rb
|
357
|
+
benchmark/bm_hash_each_value_string.rb
|
358
|
+
benchmark/bm_hash_element_reference_object.rb
|
359
|
+
benchmark/bm_hash_element_reference_string.rb
|
360
|
+
benchmark/bm_hash_element_set_object.rb
|
361
|
+
benchmark/bm_hash_element_set_string.rb
|
362
|
+
benchmark/bm_hash_equal_value_object.rb
|
363
|
+
benchmark/bm_hash_equal_value_string.rb
|
364
|
+
benchmark/bm_hash_fetch_object.rb
|
365
|
+
benchmark/bm_hash_fetch_string.rb
|
366
|
+
benchmark/bm_hash_flatten_object.rb
|
367
|
+
benchmark/bm_hash_flatten_string.rb
|
368
|
+
benchmark/bm_hash_hash_object.rb
|
369
|
+
benchmark/bm_hash_hash_string.rb
|
370
|
+
benchmark/bm_hash_has_key_object.rb
|
371
|
+
benchmark/bm_hash_has_key_string.rb
|
372
|
+
benchmark/bm_hash_has_value_object.rb
|
373
|
+
benchmark/bm_hash_has_value_string.rb
|
374
|
+
benchmark/bm_hash_inspect_object.rb
|
375
|
+
benchmark/bm_hash_inspect_string.rb
|
376
|
+
benchmark/bm_hash_invert_object.rb
|
377
|
+
benchmark/bm_hash_invert_string.rb
|
378
|
+
benchmark/bm_hash_keep_if_object.rb
|
379
|
+
benchmark/bm_hash_keep_if_string.rb
|
380
|
+
benchmark/bm_hash_keys_object.rb
|
381
|
+
benchmark/bm_hash_keys_string.rb
|
382
|
+
benchmark/bm_hash_key_object.rb
|
383
|
+
benchmark/bm_hash_key_string.rb
|
384
|
+
benchmark/bm_hash_literal_mixed_large.rb
|
385
|
+
benchmark/bm_hash_literal_mixed_small.rb
|
386
|
+
benchmark/bm_hash_literal_object_large.rb
|
387
|
+
benchmark/bm_hash_literal_object_small.rb
|
388
|
+
benchmark/bm_hash_literal_string_large.rb
|
389
|
+
benchmark/bm_hash_literal_string_small.rb
|
390
|
+
benchmark/bm_hash_merge_object.rb
|
391
|
+
benchmark/bm_hash_merge_string.rb
|
392
|
+
benchmark/bm_hash_rassoc_object.rb
|
393
|
+
benchmark/bm_hash_rassoc_string.rb
|
394
|
+
benchmark/bm_hash_rehash_object.rb
|
395
|
+
benchmark/bm_hash_rehash_string.rb
|
396
|
+
benchmark/bm_hash_reject_bang_object.rb
|
397
|
+
benchmark/bm_hash_reject_bang_string.rb
|
398
|
+
benchmark/bm_hash_reject_object.rb
|
399
|
+
benchmark/bm_hash_reject_string.rb
|
400
|
+
benchmark/bm_hash_replace_object.rb
|
401
|
+
benchmark/bm_hash_replace_string.rb
|
402
|
+
benchmark/bm_hash_select_bang_object.rb
|
403
|
+
benchmark/bm_hash_select_bang_string.rb
|
404
|
+
benchmark/bm_hash_select_object.rb
|
405
|
+
benchmark/bm_hash_select_string.rb
|
406
|
+
# ERROR taking too long benchmark/bm_hash_shift_object.rb
|
407
|
+
# ERROR taking too long benchmark/bm_hash_shift_string.rb
|
408
|
+
benchmark/bm_hash_to_a_object.rb
|
409
|
+
benchmark/bm_hash_to_a_string.rb
|
410
|
+
benchmark/bm_hash_to_h_object.rb
|
411
|
+
benchmark/bm_hash_to_h_string.rb
|
412
|
+
benchmark/bm_hash_values_object.rb
|
413
|
+
benchmark/bm_hash_values_string.rb
|
414
|
+
benchmark/bm_module_definition_big.rb
|
415
|
+
benchmark/bm_module_definition_small.rb
|
@@ -0,0 +1,28 @@
|
|
1
|
+
#
|
2
|
+
# Compare call overhead
|
3
|
+
#
|
4
|
+
prelude: |
|
5
|
+
class Test
|
6
|
+
def test(a)
|
7
|
+
a + a
|
8
|
+
end
|
9
|
+
|
10
|
+
def method_missing(method, a)
|
11
|
+
a + a
|
12
|
+
end
|
13
|
+
|
14
|
+
alias testal test
|
15
|
+
alias_method :testam, :test
|
16
|
+
end
|
17
|
+
|
18
|
+
instance = Test.new
|
19
|
+
|
20
|
+
%x{function testing(a) {return a+a;}}
|
21
|
+
benchmark:
|
22
|
+
method: instance.test(__bmdv_i)
|
23
|
+
alias: instance.testal(__bmdv_i)
|
24
|
+
alias_method: instance.testam(__bmdv_i)
|
25
|
+
method_missing: instance.testmi(__bmdv_i)
|
26
|
+
js_funcall: |
|
27
|
+
%x{testing(__bmdv_i)}
|
28
|
+
loop_count: 1000000
|