summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-10-12 16:54:44 +0200
committergit <svn-admin@ruby-lang.org>2023-10-26 14:34:41 +0000
commit631ddb34e4479259acbfa42b8d19cc03464da8f3 (patch)
treecf3921b7b3b6cd4d6a276a95e7c83a4594346ef5 /test
parent51ea82a7701afea79f5137445a28e8dfdf832e46 (diff)
[ruby/prism] Split Prism::Loader#load_node in one lambda per node type
* Otherwise load_node is too big to compile and is forced to run in interpreter: https://github.com/oracle/truffleruby/issues/3293#issuecomment-1759730996 * For the benchmark at https://github.com/oracle/truffleruby/issues/3293#issuecomment-1759790280 TruffleRuby Native 23.1.0: Before: 10.574041 After: 5.592436 JRuby 9.4.3.0: Before: 7.037780 After: 3.995317 JRuby 9.4.3.0 -Xcompile.invokedynamic=true: Before: 7.047832 After: 2.269294 https://github.com/ruby/prism/commit/a592ec346a
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions