1. 08 Apr, 2024 2 commits
    • Juho Snellman's avatar
      Merge pull request #2 from navytux/fix-build · becd5fc5
      Juho Snellman authored
      Fix test_benchmark build
      becd5fc5
    • Kirill Smelkov's avatar
      Fix test_benchmark build · 25a0bb86
      Kirill Smelkov authored
      It was failing on Debian 12 due to missing <string> include:
      
          kirr@deca:~/src/tools/go/pygolang-master/3rdparty/ratas/src/test$ g++ test_benchmark.cc
          test_benchmark.cc: In function ‘int main(int, char**)’:
          test_benchmark.cc:223:21: error: variable ‘std::string value’ has initializer but incomplete type
            223 |         std::string value = s;
                |                     ^~~~~
          test_benchmark.cc:234:21: error: variable ‘std::string value’ has initializer but incomplete type
            234 |         std::string value = s;
                |                     ^~~~~
      25a0bb86
  2. 19 May, 2019 2 commits
  3. 15 Sep, 2016 1 commit
  4. 01 Aug, 2016 3 commits
  5. 26 Jul, 2016 1 commit
    • Juho Snellman's avatar
      Tweak the benchmark a little bit more · 4e51f48d
      Juho Snellman authored
      - Add one more distinct timer type, which is occasionally
        rescheduled to happen earlier than before and occasionally
        canceled.
      - Add some comments, in case someone else wants to port the
        benchmark to another library.
      - Print a "total message count" field in the result CSV, as
        a quick way of verifying the results are correct.
      4e51f48d
  6. 25 Jul, 2016 1 commit
    • Juho Snellman's avatar
      Make the benchmark program a bit more user friendly · f415004b
      Juho Snellman authored
      - create_interval was a bad way to configure the number of units.
        It was inverted, and also hit a hard ceiling once the interval
        dropped down to 0. Instead parametrize by the approximate number
        of work units to create.
      - Print the parameters and timings in CSV to stdout
      f415004b
  7. 24 Jul, 2016 2 commits
    • Juho Snellman's avatar
      Add a facility for limiting number of callbacks to execute in one advance() · 922496c3
      Juho Snellman authored
      - Mark wheel as in the middle of partial tick, and use a special code
        path at start of advance() to pick up where we left off.
      - ticks_to_next_event() will return 0 until the partial tick is
        finished.
      - The order of operations is such that it's safe to continue scheduling
        further events during this stage.
      - No measurable performance hit on the fast path, pretty minimal cost when the
        limit gets hit.
      922496c3
    • Juho Snellman's avatar
      Add a README · 6eda585f
      Juho Snellman authored
      6eda585f
  8. 23 Jul, 2016 25 commits
  9. 17 Jul, 2016 1 commit