File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -473,7 +473,7 @@ local part_definitions = {
473
473
474
474
cext_chunky: {
475
475
environment+: {
476
- TRUFFLERUBYOPT: "--cexts-log-load=true " ,
476
+ TRUFFLERUBYOPT: "--experimental-options -- cexts-log-load" ,
477
477
USE_CEXTS: "true" ,
478
478
},
479
479
setup+:
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ jt cextc bench/chunky_png/oily_png
40
40
Then follow the instructions for benchmarking above, and then try:
41
41
42
42
``` bash
43
- $ USE_CEXTS=true TRUFFLERUBYOPT=-- cexts-log-load jt benchmark bench/chunky_png/chunky-color-r.rb --simple
43
+ $ USE_CEXTS=true TRUFFLERUBYOPT=" --experimental-options -- cexts-log-load" jt benchmark bench/chunky_png/chunky-color-r.rb --simple
44
44
```
45
45
46
46
These benchmarks have Ruby fallbacks, so we should carefully check that the
Original file line number Diff line number Diff line change @@ -1388,8 +1388,8 @@ def build_stats_native_binary_size(*args)
1388
1388
1389
1389
def build_stats_native_build_time ( *args )
1390
1390
log = File . read ( 'aot-build.log' )
1391
- log =~ /\[ total\] : (?<build_time>.+) ms/m
1392
- Float ( $~ [ : build_time] . gsub ( ',' , '' ) ) / 1000.0
1391
+ build_time = log [ /\[ truffleruby.* \] .* \[ total\] :\s *([0-9,.]+) \s * ms/ , 1 ]
1392
+ Float ( build_time . gsub ( ',' , '' ) ) / 1000.0
1393
1393
end
1394
1394
1395
1395
def build_stats_native_runtime_compilable_methods ( *args )
You can’t perform that action at this time.
0 commit comments