OvermindDL1
OvermindDL1
But yeah, if you think a certain benchmark should be remade to be idiomatic instead of just copying what java does, please state, otherwise I'll just try to copy java...
Added the json benchmark, the timings: ```zsh ❯ Rust/target/release/harness Json 5 50 Starting Json benchmark ... Json: iterations=1 runtime: 36172us Json: iterations=1 runtime: 35525us Json: iterations=1 runtime: 35747us Json: iterations=1...
Just for out of pure curiosity I ran all the tests again with tcmalloc preloaded into the processes (though I doubt it will do anything for the GC languages, but...
And made clippy happy again, which involved one performance change (just allocating an object within an allocated value instead of just allocating the value with the inline object, which shrunk...
Went ahead and quickly added the NBody benchmark this morning, clippy is happy, results: ```zsh ❯ Rust/target/release/harness NBody 5 250000 Starting NBody benchmark ... NBody: iterations=1 runtime: 25846us NBody: iterations=1...
Just as an aside, I did acquire Deno but it looks like the existing javascript benchmark is calling node'isms instead of the standard calls of things, so it would need...
So... `Storage` looks like a memory allocation horror, and it's short as well, let's do it next! And done and clippy is happy, results: ```zsh ❯ Rust/target/release/harness Storage 5 150...
And added Sieve since it was also very tiny to do, no real memory allocations in it, it's all just 'work', clippy is happy, results: ```zsh ❯ Rust/target/release/harness Sieve 5...
Decided to tackle a huge one for this next one, so chose Richards. Oh... oh wow... this... is probably the non-idiomatic Rust so far, soooooo many shared pointers and lack...
And just for completion, tcmalloc didn't make any appreciable change (not really much allocating going on, mostly just shared pointer management): ```zsh ❯ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4 Rust/target/release/harness Richards 5 50 Starting Richards...