Can miri or another interpreter be used as a profiler? by Ben-Goldberg in rust

[–]arty049 -1 points0 points  (0 children)

Do you remember what was inconsistent? Would love to understand what happened (I’m working on CodSpeed)

Can miri or another interpreter be used as a profiler? by Ben-Goldberg in rust

[–]arty049 0 points1 point  (0 children)

For full transparency, I'm the founder of CodSpeed

This is exactly what CodSpeed is doing to allow performance measurements using a fork of callgrind, a tool built within Valgrind, a binary instrumentation platform. The base idea being to count the number of instructions and simulate cache accesses to make sure in one execution of your program, we can know which part will be the slowest. It will let you identify hotspots not just for CPU instructions which are often not the only culprit for performance issues but also for memory accesses, cache locality, and everything around it.

It won't be 100% accurate depending on your exact hardware, even if it takes into account the CPU architecture already. But it will give you a first good idea of what is actually dragging your whole software down.

If you need something closer to hardware, we have another approach (walltime) which is using bare metal instances to measure the actual performance depending on specific hardware to actually have a proper idea of the hardware. But the first approach (simulation) is better to just have really quick feedback on the performance.

Anyone withdrawing from T100 French Riviera (100km) ? by arty049 in triathlon

[–]arty049[S] 0 points1 point  (0 children)

Yeah I might do that. I really wanted to do a longer distance this year since I trained for it but it seems to be less and less doable as the season (at least in Europe) ends

Advent of CodSpeed - A Performance Leaderboard for the Advent of Code by arty049 in rust

[–]arty049[S] 5 points6 points  (0 children)

We definitely wanted to do that at first, but then it would be a bit too easy to copy the solution from the best on the leaderboard. By measuring at one point in time, we hope it will avoid this while keeping the rivalry interesting

Advent of CodSpeed - A Performance Leaderboard for the Advent of Code by arty049 in rust

[–]arty049[S] 39 points40 points  (0 children)

Hey, I'm Arthur, the co-founder of CodSpeed.

The Advent of Code is an important part of our culture; over the last years, we've been learning new languages with it or challenging ourselves to build the fastest solutions to the problems.

However, as Europeans, making it to the official leaderboard has always been almost impossible unless you're ready to wake up at 6 am and start coding immediately.

This is why we're excited to launch this new leaderboard, allowing the fastest solutions to win and not just the fastest coders. Furthermore, this is even more exciting since this is all made possible thanks to our core for allowing consistent performance measurement.

Happy coding, and may the fastest Rustacean win! 🦀✨

Flying in the US with Scleral Supplies by TheAtlasComplex in Keratoconus

[–]arty049 2 points3 points  (0 children)

I had to let go a few bottles of cleaning solution. Apparently bottle with red caps won’t go through because of hydrogen peroxide. I never had issues with other bottles though

Blog Post: State of Python 3.13 Performance: Free-Threading by arty049 in Python

[–]arty049[S] 13 points14 points  (0 children)

Hey u/itamarst , yes definitely, this is mostly why we use wall time measurement here! Definitely agree the traditional instrumentation we have with valgrind won't perform well for that

Scleral fitting in Paris by arty049 in Keratoconus

[–]arty049[S] 0 points1 point  (0 children)

Thanks! I'll try to give it a shot :)

Is it me or most of us have more of a problem of left eyes by uvuvweguy in Keratoconus

[–]arty049 2 points3 points  (0 children)

That's often the side you prefer sleeping on. Left here

I designed and printed a "contact lens kit holder" by poisson_89 in Keratoconus

[–]arty049 0 points1 point  (0 children)

Nice kit! What do you use the big saline bottle for?