Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

benchmark-results.txt 2.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ###
  2. Results for:
  3. Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz
  4. Desktop with X session and so on
  5. g++ (Debian 4.9.0-7) 4.9.0:
  6. $ ./benchmark-atomic-costs
  7. volatile counter : took 0.0364336 seconds
  8. asm counter : took 0.0354201 seconds
  9. local atomic counter: took 0.115856 seconds
  10. atomic counter : took 0.109317 seconds
  11. lock asm counter : took 0.10941 seconds
  12. gxx atomic counter : took 0.00511474 seconds
  13. $ ./benchmark-atomic-costs-pthread
  14. volatile counter : took 0.046696 seconds
  15. asm counter : took 0.032943 seconds
  16. local atomic counter: took 0.110129 seconds
  17. atomic counter : took 0.113985 seconds
  18. lock asm counter : took 0.112622 seconds
  19. gxx atomic counter : took 0.116294 seconds
  20. $ ./benchmark-shared-unique
  21. forward empty raw : took 0.163969 seconds
  22. forward empty unique : took 0.218807 seconds
  23. forward empty shared : took 0.225812 seconds
  24. forward empty shared from unique : took 2.52871 seconds
  25. forward new raw : took 1.82205 seconds
  26. forward new unique : took 1.8615 seconds
  27. forward new shared : took 2.19361 seconds
  28. forward new shared from unique : took 3.95392 seconds
  29. forward new raw large : took 5.14495 seconds
  30. forward new unique large : took 5.23506 seconds
  31. forward new shared large : took 5.87016 seconds
  32. forward new shared large from unique: took 6.18217 seconds
  33. Debian clang version 3.4.1-4 (tags/RELEASE_34/dot1-final) (based on LLVM 3.4.1)
  34. $ ./benchmark-atomic-costs
  35. volatile counter : took 0.0437534 seconds
  36. asm counter : took 0.0361374 seconds
  37. local atomic counter: took 0.109093 seconds
  38. atomic counter : took 0.113311 seconds
  39. lock asm counter : took 0.109895 seconds
  40. gxx atomic counter : took 0.0319929 seconds
  41. $ ./benchmark-atomic-costs-pthread
  42. volatile counter : took 0.0450114 seconds
  43. asm counter : took 0.0318996 seconds
  44. local atomic counter: took 0.111068 seconds
  45. atomic counter : took 0.111992 seconds
  46. lock asm counter : took 0.111562 seconds
  47. gxx atomic counter : took 0.109874 seconds
  48. $ ./benchmark-shared-unique
  49. forward empty raw : took 0.166105 seconds
  50. forward empty unique : took 0.240787 seconds
  51. forward empty shared : took 0.245272 seconds
  52. forward empty shared from unique : took 2.49887 seconds
  53. forward new raw : took 1.79765 seconds
  54. forward new unique : took 1.83338 seconds
  55. forward new shared : took 2.19426 seconds
  56. forward new shared from unique : took 4.12736 seconds
  57. forward new raw large : took 4.05395 seconds
  58. forward new unique large : took 4.16771 seconds
  59. forward new shared large : took 4.48802 seconds
  60. forward new shared large from unique: took 5.02169 seconds