Skip to content

Instantly share code, notes, and snippets.

@tanakamura
Created December 27, 2020 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanakamura/9685bcd51edf7c815f70789bf85ffff3 to your computer and use it in GitHub Desktop.
Save tanakamura/9685bcd51edf7c815f70789bf85ffff3 to your computer and use it in GitHub Desktop.
ostimer: clock_gettime
userland_timer: rdtscp
perf_counter: yes
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
==== fpu ====
| | nsec/call
-------------------------
|denormal_add | 1.28803
| normal_add | 1.04813
|denormal_mul | 1.05132
| normal_mul | 1.05297
|denormal_div | 48.58704
| normal_div | 1.61954
v : test_name
ostimer: clock_gettime
userland_timer: rdtscp
perf_counter: yes
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
==== fpu ====
| | nsec/call
-------------------------
|denormal_add | 0.79170
| normal_add | 0.78829
|denormal_mul | 0.78988
| normal_mul | 0.79690
|denormal_div | 33.24758
| normal_div | 1.43735
v : test_name
ostimer: clock_gettime
userland_timer: rdtscp
perf_counter: yes
AMD Ryzen 7 3700X 8-Core Processor
==== fpu ====
| | nsec/call
-------------------------
|denormal_add | 1.00154
| normal_add | 1.00871
|denormal_mul | 1.02623
| normal_mul | 1.00899
|denormal_div | 3.16352
| normal_div | 1.51969
v : test_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment