Browse Source

actually include results

master
Stefan Bühler 5 years ago
parent
commit
a47289dcc2
1 changed files with 76 additions and 0 deletions
  1. 76
    0
      benchmark-results.txt

+ 76
- 0
benchmark-results.txt View File

@@ -0,0 +1,76 @@

###

Results for:
Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz
Desktop with X session and so on

g++ (Debian 4.9.0-7) 4.9.0:

$ ./benchmark-atomic-costs
volatile counter : took 0.0364336 seconds
asm counter : took 0.0354201 seconds
local atomic counter: took 0.115856 seconds
atomic counter : took 0.109317 seconds
lock asm counter : took 0.10941 seconds
gxx atomic counter : took 0.00511474 seconds

$ ./benchmark-atomic-costs-pthread
volatile counter : took 0.046696 seconds
asm counter : took 0.032943 seconds
local atomic counter: took 0.110129 seconds
atomic counter : took 0.113985 seconds
lock asm counter : took 0.112622 seconds
gxx atomic counter : took 0.116294 seconds

$ ./benchmark-shared-unique
forward empty raw : took 0.163969 seconds
forward empty unique : took 0.218807 seconds
forward empty shared : took 0.225812 seconds
forward empty shared from unique : took 2.52871 seconds

forward new raw : took 1.82205 seconds
forward new unique : took 1.8615 seconds
forward new shared : took 2.19361 seconds
forward new shared from unique : took 3.95392 seconds

forward new raw large : took 5.14495 seconds
forward new unique large : took 5.23506 seconds
forward new shared large : took 5.87016 seconds
forward new shared large from unique: took 6.18217 seconds



Debian clang version 3.4.1-4 (tags/RELEASE_34/dot1-final) (based on LLVM 3.4.1)

$ ./benchmark-atomic-costs
volatile counter : took 0.0437534 seconds
asm counter : took 0.0361374 seconds
local atomic counter: took 0.109093 seconds
atomic counter : took 0.113311 seconds
lock asm counter : took 0.109895 seconds
gxx atomic counter : took 0.0319929 seconds

$ ./benchmark-atomic-costs-pthread
volatile counter : took 0.0450114 seconds
asm counter : took 0.0318996 seconds
local atomic counter: took 0.111068 seconds
atomic counter : took 0.111992 seconds
lock asm counter : took 0.111562 seconds
gxx atomic counter : took 0.109874 seconds

$ ./benchmark-shared-unique
forward empty raw : took 0.166105 seconds
forward empty unique : took 0.240787 seconds
forward empty shared : took 0.245272 seconds
forward empty shared from unique : took 2.49887 seconds

forward new raw : took 1.79765 seconds
forward new unique : took 1.83338 seconds
forward new shared : took 2.19426 seconds
forward new shared from unique : took 4.12736 seconds

forward new raw large : took 4.05395 seconds
forward new unique large : took 4.16771 seconds
forward new shared large : took 4.48802 seconds
forward new shared large from unique: took 5.02169 seconds

Loading…
Cancel
Save