bench::out::csv(3tcl)

πŸ“¦
version 2.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸŽ€

  • bench
  • bench::out::text

🌈 KEYWORDS 🌈

benchmark, csv, formatting, performance, testing


🧚 CATEGORY 🧚

Benchmark tools


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