https://github.com/duncte123/bruh-mark
My intial solution for AoC2023 day 5 part 2 was so dumb, it might as well be a benchmark
https://github.com/duncte123/bruh-mark
benchmark benchmark-scripts benchmarking benchmarkservice stress-test stress-testing stresser stresser-tool
Last synced: 3 months ago
JSON representation
My intial solution for AoC2023 day 5 part 2 was so dumb, it might as well be a benchmark
- Host: GitHub
- URL: https://github.com/duncte123/bruh-mark
- Owner: duncte123
- License: gpl-3.0
- Created: 2023-12-08T21:37:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T15:46:09.000Z (about 2 years ago)
- Last Synced: 2024-05-02T04:18:41.900Z (over 1 year ago)
- Topics: benchmark, benchmark-scripts, benchmarking, benchmarkservice, stress-test, stress-testing, stresser, stresser-tool
- Language: Kotlin
- Homepage:
- Size: 85 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[openjdk]: https://www.azul.com/downloads/?version=java-21-lts&architecture=x86-64-bit&package=jre#zulu
[download]: https://github.com/duncte123/bruh-mark/releases/latest
# Bruh Mark
My solution for day 5 part 2 of Advent of Code 2023 was so hard on the CPU that I decided to turn it into a weird benchmark.
My own score: (haven't had the patience to run it for that long)
## Running the application
To run this application you will need to install java 21 or newer, you can download [openjdk here][openjdk]. I built this application with Azul's jdk so that one is validated to work.
Once you have downloaded and installed java, you can validate the installation by running `java -version` in your favourite terminal, it should list version 21.
Next up you can download the latest version of Bruh Mark from the [releases page][download].
After that, you should open a terminal window in the directory that you downloaded `BruhMark.jar` into and run `java -jar BruhMark.jar`
## Compiling from source
To compile from source, you will need to have the JDK installed instead of the JRE. After that, you need to run the following command in the folder that contains the `src` directory of this project
```bash
./gradlew build
```
(On windows you will need to run `gradlew.bat build`)
The resulting file will be in `build/libs/BruhMark.jar`