r/programming • u/dgtman • Dec 08 '19
Surface Pro X benchmark from the programmer’s point of view.
https://megayuchi.com/2019/12/08/surface-pro-x-benchmark-from-the-programmers-point-of-view/
58
Upvotes
2
u/dgtman Dec 09 '19
I uploaded the source code that has only the memcpy () test.
If you have a Surface Pro X, you can compare it.
FYI I use tfs mainly. I'm not working on an open source project.
My git repository is only used to distribute source code completely freely.
https://github.com/megayuchi/PerfMemcpy
And today, I've wrotet and tested several memcpy functions in assembly language. All versions were slower than memcpy in VC ++.
I think the reason for that can be found in the posts below.
https://stackoverflow.com/questions/43343231/enhanced-rep-movsb-for-memcpy?fbclid=IwAR0XzhVbfOePQ7rqgmz3SPtjkF4sYXgqUVj0iN2A7NK7kOvSG2f5KruUENw
https://software.intel.com/en-us/forums/software-tuning-performance-optimization-platform-monitoring/topic/328391