Quik test
Hey people, I'm doing my own OS, and I'm trying to figure out what the quickest memcpy is. I've written a small test project you can run to help me finding out. The instructions are quite simple. 1) get the test from here: https://github.com/bemk/memcpytest 2) run make and post a reply with the exact output 3) (if you are running 64-bits), run make CFLAGS=-m32 and post a reply with the exact output. The output you should see is like the bit below. It's basically the time it takes to run the newly compiled binary, which itself is a test for one of the memcpy functions. No. 5 is from the native library. Don't be surprised if that's the fastest one. Code:
|
No comments:
Post a Comment