Commit ecd78da
[tests] update benchmark tests, config
The benchmarks were showing slow results for AsyncFileHandler,much
slower compared to what they were until v0.4.0. The reason is that
a couple of bugs were recently fixed in that handler, that resulted
in the following configurable property, used for the benchmark tests,
to not have the desired effect:
org.eclipse.tracecompass.traceeventlogger.AsyncFileHandler.maxSize = 1000
After the bugs were fixed, AsyncFileHandler started to correctly use
"maxSize" as the size of its record buffer. However, a buffer of 1000
is not enough for the logging load generated by the benchmark tests,
making the new async handler look bad.
Setting "bufferSize" to value 100k makes it big enough to "absorb" the
logging load of the benchmark tests well, and brings back the previous
level of performance for the async handler, such that the benchmark
results are comparable to those from until v0.4.0.
To detect such a problem in the future, the benchmark tests now compute
the relative performance of the async file handler vs the old sync
handler and fails the test if the former is not performing above a
certain threshold. The threshold may need to be lowered a bit if e.g.
it's not met once in a while during CI (there is variation in the
results)
In the benchmark results printed on STDOUT, the relative performance of
the async file handlers now displayed as an extra column in the
benchmark result tables.
Also, the benchmark results are now printed in two versions: one un-
formatted in "csv" format that's suitable to import e.g. in LibreOffice
Calc, and another that's formatted for human readability.
Signed-off-by: Marc Dumais <[email protected]>1 parent 5d2850f commit ecd78da
File tree
2 files changed
+46
-7
lines changed- src/test/java/org/eclipse/tracecompass/traceeventlogger
- res
2 files changed
+46
-7
lines changedLines changed: 45 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
215 | | - | |
| 218 | + | |
| 219 | + | |
216 | 220 | | |
217 | | - | |
218 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
219 | 239 | | |
220 | 240 | | |
221 | 241 | | |
| |||
279 | 299 | | |
280 | 300 | | |
281 | 301 | | |
| 302 | + | |
282 | 303 | | |
283 | 304 | | |
284 | 305 | | |
| |||
390 | 411 | | |
391 | 412 | | |
392 | 413 | | |
393 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
394 | 431 | | |
395 | | - | |
396 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
397 | 436 | | |
398 | 437 | | |
399 | 438 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
0 commit comments