63 Commits
Author SHA1 Message Date
David Peter ce49529780 Make plotting scripts runnable with uv 2026-10-07 11:27:41 +02:00
David Peter bdbfae9907 Alternative performance metrics in the terminal (#986) 2026-10-06 15:50:19 +02:00
David Peter e262cd6ea5 Support hardware counters in plotting scripts (#984) 2026-10-06 09:09:18 +02:00
David Peter ef86c830b5 Support all exported metrics in plotting scripts (#981) 2026-10-05 22:48:06 +02:00
David Peter 0d86e78ede Refine JSON schema and command metadata 2026-10-05 18:11:10 +02:00
David Peter 1b3ec922fa Export metric summaries and adapt analysis scripts 2026-10-05 16:59:35 +02:00
David Peter 8d908b0754 Document the Python version required by the analysis scripts (#944)
* Document the Python version required by the analysis scripts

* Recommend uv for running the analysis scripts
2026-10-02 11:55:37 +02:00
David Peter f6d5931b31 Correct the interpretation of Welch's t-test results (#943) 2026-10-02 11:50:42 +02:00
David Peter 62cfbf0265 Fix documentation typos and man-page formatting (#935) 2026-10-02 11:45:20 +02:00
Martin Liska 3cedcc38d0 Address comments 2025-03-14 21:04:11 +01:00
Martin Liska ee4e4d04b2 Add plot_benchmarks scripts
The script is intended for a collection of hyperfine JSON files where
multiple benchmarks were run for a selected group of commands.
2025-03-14 21:04:11 +01:00
David Peter f78f482d8f Add --time-unit option to 'advanced_statistics.py' 2024-12-01 21:13:31 +01:00
David Peter e3e86174d9 Minor rewording 2024-08-28 17:26:40 +02:00
David Peter 5c716e48c8 Update docu 2024-08-28 17:25:05 +02:00
David Peter 9e265bd99b Add target Python version 2024-08-28 17:18:42 +02:00
David Peter eeaa6bdb40 Fix multiple strings in one line 2024-08-28 17:10:33 +02:00
David Peter bc37eff924 Sort imports 2024-08-28 17:01:09 +02:00
David Peter cfae9cbdab Add PEP-723 inline metadata 2024-08-28 16:52:02 +02:00
David Peter 65dd84fb07 Update formatting, use f-strings 2024-08-28 16:41:58 +02:00
ef9e1409c6 add: legend modification parameters and output DPI (#758)
* add: legend modification parameters and output DPI

This commit adds a CLI parameter to plot_histogram in order to position
the legend of the plot on the diagram.
It also defines the output DPI for the plot to 600 dpi.

Plot_progression gets a CLI paramter to add a custom label and to
overwrite the default one.

---------

Co-authored-by: dbv <[email protected]>
Co-authored-by: dbv <[email protected]>
2024-07-17 20:40:12 +02:00
Serpent7776 51d056a3de Add --sort-by option 2024-03-14 08:26:35 +01:00
Serpent7776 836d1730b5 Fix long labels being cut off 2024-03-14 08:26:35 +01:00
Serpent7776 5c9d7a8b1e Nicer whiskers plot
- add missing encoding when opening input file
- add labels to x ticks, rotated by 45 deg
- sort data by median, ascending
2024-03-14 08:26:35 +01:00
David Peter c7be935da3 Improve plot_progression.py script 2024-02-02 17:51:31 +01:00
David Peter 77e7b6cd65 Add --log-count option to plot_histogram.py 2023-04-17 22:27:28 +02:00
Nicolas van Kempen 7684efdd2d Use plt.get_cmap instead of plt.colormaps 2023-04-17 21:54:23 +02:00
Nicolas van Kempen a3eee514ed Fix get_cmap MatplotlibDeprecationWarning 2023-04-17 21:54:23 +02:00
anothermh 546f504067 Remove extraneous characters from code sample 2022-05-20 09:49:28 +02:00
David Peter f1557d47fb Add plot_progression.py 2022-03-05 12:03:29 +01:00
David Peter bcd3705ce0 Add number of runs to advanced_statistics.py 2022-03-05 11:53:59 +01:00
Vin Singh 56cce61077 Add scipy to scripts README.md pre-requisites 2022-03-03 20:37:09 +01:00
David Peter 0601a1971e Add --t-min/--t-max to histogram script 2022-02-27 20:11:13 +01:00
David Peter 6bfef81aaa Fix reference to plotting script
closes #392
2021-06-14 20:49:15 +02:00
Benjamin Rosemann 49fcc4be37 Change parameter name in plotting scripts
Change the parameter `imagname` to `output` and provide `-o` shortcut.
2021-02-16 08:21:45 +01:00
Benjamin Rosemann b04a9ec6c4 Add parameters to plotting scripts
Add `imgname` parameter to be able to save a plot to a file instead of
showing it. Use-case: platforms without GUI like docker containers.

Add `labels` parameter to histogram plot. Use-case: replacing long
commands with human friendly labels.
2021-02-16 08:21:45 +01:00
David Peter 907d38aa18 Only show title if it is set 2020-11-03 13:46:16 +01:00
William Chargin 89737785f8 [update patch]
wchargin-branch: param-list-matrix
wchargin-source: f866f0df2eae5f4bac2022c0db48edb0e8e6361e
2020-10-13 14:00:46 +02:00
William Chargin a8a75a3b76 [update patch]
wchargin-branch: param-list-matrix
wchargin-source: 188f18839ad4bfce20c2c031cd6b00bcd94b67ad
2020-10-13 14:00:46 +02:00
muxator 5a80a23bdc scripts: modify shebang to use "/usr/bin/env python"
Before this patch, executing directly one of these scripts, for example
`./plot_hystogram.py` in a unix-like environment meant that the default
system-level python would be used, regardless of an eventual activated
virtualenv.

This was due to the "#!/usr/bin/python" shebang.
Changing it to "/usr/bin/env python" is a fairly standard practice, keeps intact
the compatiblity with the system level python, and allows a user to run in a
virtualenv if he wants.
2020-10-13 12:49:36 +02:00
sharkdp ca81ab2f91 Add --titles option 2020-04-13 08:28:29 +02:00
sharkdp c649d8d569 Add --log-time and --log-x flags 2020-04-13 08:19:58 +02:00
sharkdp d441eefd1d plot_histogram.py: add --type and --bins 2020-04-02 18:59:32 +02:00
sharkdp dab1da98b6 Fix computation of min/max time range 2020-04-02 18:59:32 +02:00
sharkdp 8fff8643e0 Auto-format Python scripts 2020-04-01 09:35:09 +02:00
sharkdp a870d4db3d Add --labels option for plot_whisker.py 2020-04-01 09:31:55 +02:00
sharkdp b702292505 Remove unnecessary imports 2020-03-21 09:23:42 +01:00
Eugene Obrezkov 9253e9f967 Update plot_whisker.py 2020-03-21 09:23:42 +01:00
Eugene Obrezkov e83e1f787c Update plot_whisker.py 2020-03-21 09:23:42 +01:00
David Peter 0474fcc19d Show min/max in advanced_statistics
Branch: master
2020-01-23 13:04:42 +01:00
David Peter a3f0278074 Show the full range in histograms
Branch: master
2020-01-23 13:04:15 +01:00