orc_memcpy() slower than memcpy()
@slomo
Submitted by Sebastian Dröge Link to original bug (#769259)
Description
Created attachment 332264
memcpy_speed.diff
With attached patch for making the memcpy performance test in orc output something meaningful (actual size | time for one iteration with orc | with libc), orc_memcpy() is e.g. about 35% slower than memcpy() on 5MB.
This is on Linux with a "Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz" and glibc 2.22. Similar reports on Windows though.
When putting the output to a file ("data") you can plot this with gnuplot:
plot "data" using 1:2 t "orc" with lines, "data" using 1:3 t "libc" with lines
See also attached plot from me
Patch 332264, "memcpy_speed.diff":
memcpy_speed.diff