Skip to content

Commit 1821992

Browse files
authored
Updated core-lib and added IfNil benchmark (#227)
2 parents e9d8032 + b07a44f commit 1821992

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

rebench.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ benchmark_suites:
8383
- FieldLoop: {extra_args: 1, tags: [yuria3]}
8484
- WhileLoop: {extra_args: 30, tags: [yuria ]}
8585
- Mandelbrot: {extra_args: 50, tags: [yuria2]}
86+
- IfNil: {extra_args: 30, tags: [yuria ]}
8687

8788
- Test: {invocations: 10, tags: [yuria ]}
8889
- TestGC: {invocations: 10, extra_args: 10, tags: [yuria ]}
@@ -111,6 +112,7 @@ benchmark_suites:
111112
- FieldLoop: {extra_args: 900, warmup: 5, iterations: 55, tags: [yuria4]}
112113
- WhileLoop: {extra_args: 9000, warmup: 5, iterations: 55, tags: [yuria2]}
113114
- Mandelbrot: {extra_args: 1000, warmup: 10, iterations: 110, tags: [yuria4]}
115+
- IfNil: {extra_args: 9000, warmup: 5, iterations: 55, tags: [yuria2]}
114116

115117
micro-somsom:
116118
gauge_adapter: RebenchLog

som

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ profile.add_argument('-gb', '--graal-branch-profile', help='enable Graal-level b
5959
dest='graal_branch_profile', action='store_true', default=False)
6060
profile.add_argument('-tp', '--truffle-profile', help='enable Graal-level profiling after warmup',
6161
dest='truffle_profile', action='store_true', default=False)
62-
explore.add_argument('-v', '--visual-vm', help='connect to VisualVM for profiling',
62+
profile.add_argument('-v', '--visual-vm', help='connect to VisualVM for profiling',
6363
dest='visual_vm', action='store_true', default=False)
64+
profile.add_argument('-fr', '--flight-recorder', help='profile with Java Flight Recorder',
65+
dest='flight_recorder', action='store_true', default=False)
6466

6567
tools = parser.add_argument_group('Tools for various purposes')
6668
tools.add_argument('-n', '--node-stats', help='collect details about AST nodes. Optionally define output file name. Default: node-stats.yml',
@@ -74,8 +76,7 @@ tools.add_argument('-ct', '--coverage-type', help="human readable 'histogram' (p
7476
tools.add_argument('-cs', '--cpu-sampler', help='Truffle CPU Sampler. [CPUSAMPLE] can be one of histogram, calltree, json',
7577
dest='cpusampler', action='store', nargs='?',
7678
const='histogram', default=False)
77-
tools.add_argument('-fr', '--flight-recorder', help='profile with Java Flight Recorder',
78-
dest='flight_recorder', action='store_true', default=False)
79+
7980

8081

8182
parser.add_argument('-A', '--no-assert', help='execute with assertions disabled',
@@ -366,8 +367,7 @@ if not args.interpreter and args.graal_branch_profile:
366367
'-Dpolyglot.engine.InstrumentBranchesPerInlineSite=true']
367368

368369
if not args.interpreter and args.perf_warnings:
369-
flags += ['-Dpolyglot.engine.CompilationFailureAction=ExitVM',
370-
'-Dpolyglot.engine.TracePerformanceWarnings=all',
370+
flags += ['-Dpolyglot.engine.TracePerformanceWarnings=all',
371371
'-Dpolyglot.engine.TraceCompilation=true',
372372
'-Dpolyglot.engine.TraceCompilationDetails=true']
373373
if not args.interpreter and args.trace_invalidation:

0 commit comments

Comments
 (0)