Oddbean new post about | logout
 Visual Studio Profiler never ceases to amaze me! You can even see individual assembly instructions execution time!

https://cdn.masto.host/mastodongamedevplace/media_attachments/files/111/136/308/642/886/482/original/2b70cf1e2b6d08a7.png 
 @c9089ad9 this is something I wish Rider had, they have a ticket about this open for a long time, hopefully we'll get it soon 
 @c9089ad9 From what I now about how CPUs execute instructions, this can only be a rough estimate. But very handy indeed!

From looking at what you are doing, have you considered using #SIMD instructions? 

The term seemed scary to me at first, but it's really not that complex. The performance benefit is huge, even on older CPUs. Here's a random example code to give you an idea: https://github.com/jean553/c-simd-avx2-example