Added an updated version of the source code (more accurate with real hw)
0
Annatar
2 years ago
Are there any tools I could use to measure the performance of my code, for example an analyser for how many cycles are spent?
How did you guys do performance measurement back in the day, could you share some techniques?
Hi Annatar! On the slight chance you don’t know but the simplest way would be to change the background color at the start of your code that is to be scrutinized and then to change the color back at the end of your code. This will give you a direct visual output of the consumed rasterlines for your running code. Alternatively, you can read out the vertical beam position at start and end if you like numbers and want it a bit more quantitative. In case you are interested in the used cycles per instruction you can have it the… Read more »
Hi Annatar, SToRM, and Zebpro. Thanks for the feedback and the comments. Yeah, oldschool sins revived 🙂 I guess the output is rather boring 🙁 and the curve could be more sophisticated but it is more about the number and a personal bob record. The first version dates back to 1989 and from time to time I rewrote it for the hunt of more bobs. The 199 bobs by Mic / Level4 served as a beacon but I never reached that number though I came close back in the days. Quite funny that – when I turned to 68000 and… Read more »
Added an updated version of the source code (more accurate with real hw)
Are there any tools I could use to measure the performance of my code, for example an analyser for how many cycles are spent?
How did you guys do performance measurement back in the day, could you share some techniques?
Hi Annatar! On the slight chance you don’t know but the simplest way would be to change the background color at the start of your code that is to be scrutinized and then to change the color back at the end of your code. This will give you a direct visual output of the consumed rasterlines for your running code. Alternatively, you can read out the vertical beam position at start and end if you like numbers and want it a bit more quantitative. In case you are interested in the used cycles per instruction you can have it the… Read more »
Thanks ROG!
Was just checking my old code with no tricks or optimization and it was 109 bobs
Hi Annatar, SToRM, and Zebpro. Thanks for the feedback and the comments. Yeah, oldschool sins revived 🙂 I guess the output is rather boring 🙁 and the curve could be more sophisticated but it is more about the number and a personal bob record. The first version dates back to 1989 and from time to time I rewrote it for the hunt of more bobs. The 199 bobs by Mic / Level4 served as a beacon but I never reached that number though I came close back in the days. Quite funny that – when I turned to 68000 and… Read more »
Looking forward to the ROG 200+ bobs demo release then 😉
Nice!! 🙂
Thanks for this source code, I love bobs!! 😀
the amiga has a long history with bobs. thx 4 da upload.
Cool beans! I didn’t look at all of the source code but I looked at some of it, and it gave me a few ideas. Thanks Rog and Musashi9!