-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative difference for throughput #1007
Comments
what's the exact problem? what part of the expression is returning the wrong results? |
I assume because it's running the "diff" query on the entire dataset instead of the partition... not really sure who's issue that is without diving into it. You can use the https://phpbench.readthedocs.io/en/latest/report-components/section.html to partition the data and create a |
I don't even know where to start 😬🙈 Can you point me at an example? {
"report.generators": {
"redis": {
"extends": "aggregate",
"generator": "expression",
"break": ["benchmark"],
"expressions": {
"diff": "format(\"%.1fx (%.1f%%)\", mode(suite[subject_groups = [\"predis\"]][\"result_time_avg\"]) / mode(result_time_avg), percent_diff(mode(result_time_avg), mode(suite[subject_groups = [\"predis\"]][\"result_time_avg\"])))"
},
"cols": [
"benchmark",
"subject",
"revs",
"its",
"rstdev",
"mem_peak",
"mode",
"diff"
]
}
}
} |
When using the
throughput
output the relative difference isn't working.When I run:
./vendor/bin/phpbench run --report=redis --filter=GetThroughputBench
it works:But just running
./vendor/bin/phpbench run --report=redis
skews it up:Maybe related to #974. The code: https://github.com/cachewerk/relay
The text was updated successfully, but these errors were encountered: