(12-26-2024, 11:45 PM)Pete Wrote: Nothing like posting some good ASCII on the boards!ASCII forever! Yet, this time one of my descriptions given to Japanese AI text-to-image generator.
Pete
(12-27-2024, 12:12 AM)Jack Wrote: hello SanmayceHi Jack,
I commented the line that prints the Fibonacci numbers because printing can be quite slow and it distorts the timing of the computations, it took a total of 83 seconds on my PC
you are right, but the dumping is intentional, if you have (like I) a big Console window then you can see a "filling up" effect as length of F(n) is increasing. In order to bypass the slow console printing I use redirection to a file.
@ahenry3068
You have to install 'perf', this is a must-have for any serious benchmarking since it uses the hardware counters, once I asked the author of stats reporting in Valgrind about proper testing, the author himself told me that he uses software "simulated" counters, so 'perf' rules.
Also, you have to run it in maximum niceness aka priority, see the screenshot.
Let's see how one really fast laptop behaves (using my brother's ThinkPad P14s):
Better, AMD Zen4 crunches at 15.0 GIPS, I was right - anything below 10 is non-modern, ugh.
"He learns not to learn and reverts to what the masses pass by."