{"push_id":798942429,"size":1,"distinct_size":1,"ref":"refs/heads/benchrunner","head":"c7a312f1bff7db10a82a263715246812c7f805bf","before":"b4ccd072daca2fb1d944ef78c4a7245043c59003","commits":[{"sha":"c7a312f1bff7db10a82a263715246812c7f805bf","author":{"email":"00d3f84240fe5b9839bab8975926cbab4ee9347d@igalia.com","name":"Adrián Pérez de Castro"},"message":"Script to run a benchmark multiple times and gather stats\n\nThe benchrun.lua accepts the number of times to execute a command, and the\ncommand itself. The command should output lines in the format:\n\n  Rate: X MPPS\n\nwhere X is a positive number (either integer or floating point). The following\ncalculations are made:\n\n* Minimum rate.\n* Maximum rate.\n* Average rate.\n* Standard error of rate.\n\nIf the command outputs more than one \"Rate: X MPPS\" line, the statistis are\ndone separately for each of the observed values (average of the first values,\naverage of the second, and so on), plus an additional report with the same\nstatistics calculated over the sums of all the observed values per each run\nof the command.\n\nExample usage:\n\n  sudo ../tests/benchrun.lua 10 'snabb snsh\n    apps/lwaftr/benchmark.lua ../tests/apps/lwaftr/data/binding.table \\\n    ../tests/apps/lwaftr/data/icmp_on_fail.conf \\\n    ../tests/apps/lwaftr/data/tcp-frominet-bound-550.pcap \\\n    ../tests/apps/lwaftr/data/empty.pcap \\\n    0000:04:00.0 0000:04:00.1'\n\nNotice how the command is a single argument to the script.","distinct":true,"url":"https://api.github.com/repos/aperezdc/snabbswitch/commits/c7a312f1bff7db10a82a263715246812c7f805bf"}]}