bench::out::csv(3tcl)
β¨ bench::out::csv β¨
okay bestie so this is a page from the Benchmarking/Performance tools manual set β it's the bench::out::csv one, and it is literally the glow-up artist for your benchmark numbers π
πΈ NAME πΈ
bench::out::csv β formatting benchmark results as CSV. yes that's it, that's the whole job, and she does it beautifully π
π¦ SYNOPSIS π¦
package require Tcl 8.5 9
package require bench::out::csv ?0.1.3?
::bench::out::csv bench_result
π DESCRIPTION π
so this package hands you the commands to format benchmark results into a CSV table that a spreadsheet can just... import. no drama, no fuss, it's giving "open in Excel and go feral" energy π₯
if you're the kind of reader who actually cares about generating or processing these results, then bestie you're in the wrong room β go read bench - Processing benchmark suites instead π«Ά
and if the bench language itself is what you're obsessed with? start with the bench language introduction, and then vibe your way onward from there to the formal bench language specification. that's the path, iykyk β¨
π PUBLIC API π
::bench::out::csv bench_resultβ this one takes the benchmark result you gave it and formats it for output to a file, a socket, wherever honestly. and this specific command makes CSV data that spreadsheets can import π
so for the other formatting styles, go peek at the packages bench and bench::out::text β those give you commands to format benchmark results in raw form, or for human consumption, respectively. pick your fighter, no cap π
π BUGS, IDEAS, FEEDBACK π
ngl, this document β and the package it describes β will undoubtedly have bugs and other problems. it's not a vibe, it's a fact π so please report them in the category bench of the Tcllib Trackers: http://core.tcl.tk/tcllib/reportlist. and if you've got ideas for enhancements for either the package and/or the documentation, drop those there too, we want them fr fr π
when you're proposing code changes, please send unified diffs, i.e. the output of diff -u. this is not optional, bestie, this is the way.
also note: attachments are strongly preferred over inlined patches. you make an attachment by going to the Edit form of the ticket immediately after it's created, and then using the left-most button in the secondary navigation bar. iconic behavior, truly β
π SEE ALSO π
benchbench::out::text
π KEYWORDS π
benchmark, csv, formatting, performance, testing
π§ CATEGORY π§
Benchmark tools
π COPYRIGHT π
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
okay that's the whole thing, you're all caught up π
this was tcllib, version 0.1.3, of the bench::out::csv(3tcl) page β go format some CSVs, you absolute main character ππ¦
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- Copyright (c) 2007 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms