https://github.com/drichardson/wrapping_counters
Measure performance of different ways to implement wrapping counters
https://github.com/drichardson/wrapping_counters
performance-test
Last synced: 7 months ago
JSON representation
Measure performance of different ways to implement wrapping counters
- Host: GitHub
- URL: https://github.com/drichardson/wrapping_counters
- Owner: drichardson
- License: unlicense
- Created: 2016-04-18T18:10:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T20:00:53.000Z (about 7 years ago)
- Last Synced: 2025-08-01T07:15:25.839Z (9 months ago)
- Topics: performance-test
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wrapping Counters Test
Test the performance of ways to implement wrapping counters.
To build, run `make`.
To run, `./wrapping_counters_test 128`. The argument is the value to wrap on. It must
be a power of 2. The reason it's passed on the command line instead of hard coded is
so that the optimizer cannot take the exact value into account.
To disassemble using objdump, run:
objdump -l -d --demangle wrapping_counters_test
To disassemble using otool on OSX, run:
otool -tv wrapping_counters_test|c++filt
or, if you've installed objdump (actually called gobjdump) as part of the binutils package using homebrew on OSX, run:
gobjdump -l -d --demangle wrapping_counters_test