Skip to content

leonid-ed/bitty_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitty Benchmark

Light benhmark kit based on C macros that you can use as one header file.

Benchmark results look as below:

$ ./factorial_bench
      698.26       688.96                       one   # Factorial with recursion
     1000.75         0.03    1.0002 MB/s        one   # Test IO speed
      181.65       170.42                       one   # Factorial with memoization

Result format is as following:

  elapsed  |  cpu-lock  | speed of        | benchmark | benchmark
  time,    |  time,     | data exchange   | id        | desription
  ms       |  ms        | (optional), MB/s|           | (optional)
-------------------------------------------------------------------------
  698.26   |    688.96  |                 |  one      | # Factorial with recursion
 1000.09   |      0.03  | 1.0002 MB/s     |  one      | # Test IO speed
  181.65   |    170.42  |                 |  one      | # Factorial with memoization

License

MIT

About

Small and simple benchmark kit based on C macros

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published