diff options
| author | Alexander Yastrebov <yastrebov.alex@gmail.com> | 2024-01-04 19:28:50 +0100 |
|---|---|---|
| committer | Gunnar Morling <gunnar.morling@googlemail.com> | 2024-01-04 19:39:06 +0100 |
| commit | 4077d749e2a7dc8e07373b834cc5169c01a4282b (patch) | |
| tree | 7f7d44f178240c4a103545abab5408870247bcae /README.md | |
| parent | 37350f1c8edf2d5d4fd55c68c42ad6da42cca886 (diff) | |
Fix baseline script name
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -87,7 +87,7 @@ Execute the following steps to run the challenge: 3. Calculate the average measurement values: ``` - ./calculate_average.sh + ./calculate_average_baseline.sh ``` The provided naive example implementation uses the Java streams API for processing the file and completes the task in ~2 min on environment used for [result evaluation](#evaluating-results). @@ -96,11 +96,11 @@ Execute the following steps to run the challenge: 4. Optimize the heck out of it: Adjust the `CalculateAverage` program to speed it up, in any way you see fit (just sticking to a few rules described below). - Options include parallelizing the computation, using the (incubating) Vector API, memory-mapping different sections of the file concurrently, using AppCDS, GraalVM, CRaC, etc. for speeding up the application start-up, choosing and tuning the garbage collector, and much more. + Options include parallelizing the computation, using the (incubating) Vector API, memory-mapping different sections of the file concurrently, using AppCDS, GraalVM, CRaC, etc. for speeding up the application start-up, choosing and tuning the garbage collector, and much more. ## Flamegraph/Profiling -A tip is that if you have [jbang](https://jbang.dev) installed, you can get a flamegraph of your program by running +A tip is that if you have [jbang](https://jbang.dev) installed, you can get a flamegraph of your program by running [async-profiler](https://github.com/jvm-profiling-tools/async-profiler) via [ap-loader](https://github.com/jvm-profiling-tools/ap-loader): `jbang --javaagent=ap-loader@jvm-profiling-tools/ap-loader=start,event=cpu,file=profile.html -m dev.morling.onebrc.CalculateAverage_yourname target/average-1.0.0-SNAPSHOT.jar` |
