Skip to content

Updated core-lib and added IfNil benchmark #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rebench.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ benchmark_suites:
- FieldLoop: {extra_args: 1, tags: [yuria3]}
- WhileLoop: {extra_args: 30, tags: [yuria ]}
- Mandelbrot: {extra_args: 50, tags: [yuria2]}
- IfNil: {extra_args: 30, tags: [yuria ]}

- Test: {invocations: 10, tags: [yuria ]}
- TestGC: {invocations: 10, extra_args: 10, tags: [yuria ]}
Expand Down Expand Up @@ -111,6 +112,7 @@ benchmark_suites:
- FieldLoop: {extra_args: 900, warmup: 5, iterations: 55, tags: [yuria4]}
- WhileLoop: {extra_args: 9000, warmup: 5, iterations: 55, tags: [yuria2]}
- Mandelbrot: {extra_args: 1000, warmup: 10, iterations: 110, tags: [yuria4]}
- IfNil: {extra_args: 9000, warmup: 5, iterations: 55, tags: [yuria2]}

micro-somsom:
gauge_adapter: RebenchLog
Expand Down
10 changes: 5 additions & 5 deletions som
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ profile.add_argument('-gb', '--graal-branch-profile', help='enable Graal-level b
dest='graal_branch_profile', action='store_true', default=False)
profile.add_argument('-tp', '--truffle-profile', help='enable Graal-level profiling after warmup',
dest='truffle_profile', action='store_true', default=False)
explore.add_argument('-v', '--visual-vm', help='connect to VisualVM for profiling',
profile.add_argument('-v', '--visual-vm', help='connect to VisualVM for profiling',
dest='visual_vm', action='store_true', default=False)
profile.add_argument('-fr', '--flight-recorder', help='profile with Java Flight Recorder',
dest='flight_recorder', action='store_true', default=False)

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



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

if not args.interpreter and args.perf_warnings:
flags += ['-Dpolyglot.engine.CompilationFailureAction=ExitVM',
'-Dpolyglot.engine.TracePerformanceWarnings=all',
flags += ['-Dpolyglot.engine.TracePerformanceWarnings=all',
'-Dpolyglot.engine.TraceCompilation=true',
'-Dpolyglot.engine.TraceCompilationDetails=true']
if not args.interpreter and args.trace_invalidation:
Expand Down
Loading