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
Refactor BenchmarkReporter
#11090
Refactor BenchmarkReporter
#11090
Conversation
Thanks for making a pull request to jupyterlab! |
Benchmark reportThe execution time (in milliseconds) are grouped by test file, test type and browser. Results table
❗ Test metadata have changed--- /dev/fd/63 2021-09-17 08:42:55.074206707 +0000
+++ /dev/fd/62 2021-09-17 08:42:55.074206707 +0000
@@ -8,33 +8,33 @@
},
"systemInformation": {
"cpu": {
- "brand": "Xeon® E5-2673 v4",
+ "brand": "Xeon® Platinum 8171M",
"cache": {
"l1d": 65536,
"l1i": 65536,
- "l2": 524288,
- "l3": 52428800
+ "l2": 2097152,
+ "l3": 36700160
},
"cores": 2,
"family": "6",
- "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt md_clear",
+ "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear",
"governor": "",
"manufacturer": "Intel®",
- "model": "79",
+ "model": "85",
"physicalCores": 2,
"processors": 1,
"revision": "",
"socket": "",
- "speed": 2.3,
+ "speed": 2.6,
"speedMax": null,
"speedMin": null,
- "stepping": "1",
+ "stepping": "4",
"vendor": "GenuineIntel",
"virtualization": false,
"voltage": ""
},
"mem": {
- "total": 7291699200
+ "total": 7291695104
},
"osInfo": {
"arch": "x64",
@@ -42,11 +42,11 @@
"codename": "Focal Fossa",
"codepage": "UTF-8",
"distro": "Ubuntu",
- "kernel": "5.8.0-1041-azure",
+ "kernel": "5.8.0-1040-azure",
"logofile": "ubuntu",
"platform": "linux",
"release": "20.04.3 LTS",
- "serial": "faac5b9e00cf4ae3b2d2c013e98d933a",
+ "serial": "0f5fd491ff264b5f9d56e03599b4fae0",
"servicepack": "",
"uefi": false
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for doing this @trungleduc
My main comments are to change a bit the signature of the new arguments to be more generic and more explicit.
We should also add some documentation about that reporter in galata README. Would you mind adding please?
galata/src/benchmarkReporter.ts
Outdated
graphConfigFactory?: ( | ||
allData: Array<IReportRecord>, | ||
comparison: 'snapshot' | 'project' | ||
) => Record<string, any>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's clarify that the output is expected to be a VegaList configuration.
graphConfigFactory?: ( | |
allData: Array<IReportRecord>, | |
comparison: 'snapshot' | 'project' | |
) => Record<string, any>; | |
vegaLiteConfigFactory?: ( | |
allData: Array<IReportRecord>, | |
comparison: 'snapshot' | 'project' | |
) => JSONObject; |
Thanks @fcollonval for reviewing it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are some additional suggestions.
Co-authored-by: Frédéric Collonval <fcollonval@gmail.com>
Co-authored-by: Frédéric Collonval <fcollonval@gmail.com>
Co-authored-by: Frédéric Collonval <fcollonval@gmail.com>
Co-authored-by: Frédéric Collonval <fcollonval@gmail.com>
Co-authored-by: Frédéric Collonval <fcollonval@gmail.com>
Thanks @trungleduc |
References
Follow-up on benchmark in the CI
Code changes
BenchmarkReporter
to make markdown table and Vega-Lite graph customizable.BenchmarkReporter
User-facing changes
N/A
Backwards-incompatible changes
N/A