diff --git a/challenges/2021/01-sonarSweep/benchmark.json b/challenges/2021/01-sonarSweep/benchmark.json new file mode 100644 index 0000000..96ea0a0 --- /dev/null +++ b/challenges/2021/01-sonarSweep/benchmark.json @@ -0,0 +1,31 @@ +{ + "day": 1, + "dir": "challenges/2021/01-sonarSweep", + "implementations": { + "Golang": { + "part.1.avg": 0.000072671946, + "part.1.max": 0.00042563, + "part.1.min": 0.000042627, + "part.2.avg": 0.00009384220400000007, + "part.2.max": 0.001286097, + "part.2.min": 0.000047986 + }, + "Nim": { + "part.1.avg": 0.000309820612, + "part.1.max": 0.000891548, + "part.1.min": 0.000217958, + "part.2.avg": 0.006001787626, + "part.2.max": 0.015706643, + "part.2.min": 0.004353526 + }, + "Python": { + "part.1.avg": 0.0004916372299194336, + "part.1.max": 0.0012853145599365234, + "part.1.min": 0.0003917217254638672, + "part.2.avg": 0.0008194093704223632, + "part.2.max": 0.001768350601196289, + "part.2.min": 0.0006651878356933594 + } + }, + "numRuns": 500 +} \ No newline at end of file diff --git a/challenges/2021/01-sonarSweep/benchmark.txt b/challenges/2021/01-sonarSweep/benchmark.txt deleted file mode 100644 index 211b1fc..0000000 --- a/challenges/2021/01-sonarSweep/benchmark.txt +++ /dev/null @@ -1,32 +0,0 @@ -Day 1 (Sonar Sweep) benchmark - -Dir: challenges/2021/01-sonarSweep -Runs per part: 200 --------------------------------------------------------------------------------- -Golang - -benchmark.part.1.avg: 0.000056 seconds -benchmark.part.1.min: 0.000041 seconds -benchmark.part.1.max: 0.000226 seconds -benchmark.part.2.avg: 0.000075 seconds -benchmark.part.2.min: 0.000045 seconds -benchmark.part.2.max: 0.001601 seconds --------------------------------------------------------------------------------- -Nim - -benchmark.part.1.avg: 0.000360 seconds -benchmark.part.1.min: 0.000246 seconds -benchmark.part.1.max: 0.000950 seconds -benchmark.part.2.avg: 0.006874 seconds -benchmark.part.2.min: 0.004758 seconds -benchmark.part.2.max: 0.014110 seconds --------------------------------------------------------------------------------- -Python - -benchmark.part.1.avg: 0.000569 seconds -benchmark.part.1.min: 0.000486 seconds -benchmark.part.1.max: 0.001104 seconds -benchmark.part.2.avg: 0.000948 seconds -benchmark.part.2.min: 0.000823 seconds -benchmark.part.2.max: 0.001922 seconds --------------------------------------------------------------------------------- diff --git a/challenges/2021/02-dive/benchmark.json b/challenges/2021/02-dive/benchmark.json new file mode 100644 index 0000000..1081cc9 --- /dev/null +++ b/challenges/2021/02-dive/benchmark.json @@ -0,0 +1,23 @@ +{ + "day": 2, + "dir": "challenges/2021/02-dive", + "implementations": { + "Golang": { + "part.1.avg": 0.0001582621379999999, + "part.1.max": 0.001349068, + "part.1.min": 0.000111979, + "part.2.avg": 0.00015449909000000007, + "part.2.max": 0.000617994, + "part.2.min": 0.000109917 + }, + "Python": { + "part.1.avg": 0.000686305046081543, + "part.1.max": 0.003078460693359375, + "part.1.min": 0.000522613525390625, + "part.2.avg": 0.0007208962440490722, + "part.2.max": 0.00462651252746582, + "part.2.min": 0.0005438327789306641 + } + }, + "numRuns": 500 +} \ No newline at end of file diff --git a/challenges/2021/02-dive/benchmark.txt b/challenges/2021/02-dive/benchmark.txt deleted file mode 100644 index dab02f3..0000000 --- a/challenges/2021/02-dive/benchmark.txt +++ /dev/null @@ -1,23 +0,0 @@ -Day 2 (Dive) benchmark - -Dir: challenges/2021/02-dive -Runs per part: 500 --------------------------------------------------------------------------------- -Golang - -benchmark.part.1.avg: 0.000200 seconds -benchmark.part.1.min: 0.000111 seconds -benchmark.part.1.max: 0.004197 seconds -benchmark.part.2.avg: 0.000204 seconds -benchmark.part.2.min: 0.000112 seconds -benchmark.part.2.max: 0.003940 seconds --------------------------------------------------------------------------------- -Python - -benchmark.part.1.avg: 0.000851 seconds -benchmark.part.1.min: 0.000526 seconds -benchmark.part.1.max: 0.007797 seconds -benchmark.part.2.avg: 0.000865 seconds -benchmark.part.2.min: 0.000549 seconds -benchmark.part.2.max: 0.004964 seconds --------------------------------------------------------------------------------- diff --git a/challenges/2021/03-binaryDiagnostic/benchmark.json b/challenges/2021/03-binaryDiagnostic/benchmark.json new file mode 100644 index 0000000..f34df19 --- /dev/null +++ b/challenges/2021/03-binaryDiagnostic/benchmark.json @@ -0,0 +1,23 @@ +{ + "day": 3, + "dir": "challenges/2021/03-binaryDiagnostic", + "implementations": { + "Nim": { + "part.1.avg": 0.00021173980600000034, + "part.1.max": 0.000570226, + "part.1.min": 0.000157414, + "part.2.avg": 0.00018946362799999994, + "part.2.max": 0.000354414, + "part.2.min": 0.000147001 + }, + "Python": { + "part.1.avg": 0.0023609061241149903, + "part.1.max": 0.0048906803131103516, + "part.1.min": 0.0017006397247314453, + "part.2.avg": 0.0017261476516723633, + "part.2.max": 0.003656625747680664, + "part.2.min": 0.0012204647064208984 + } + }, + "numRuns": 500 +} \ No newline at end of file