bench::in(n)
β¨ bench::in(n) β¨
ok so bestie, welcome to bench::in π it's a lil page from the Benchmarking/Performance tools corner of the manual (the n part means it's a Tcl package doc, iykyk), and honestly? it's giving "small but mighty" π
πΈ NAME πΈ
bench::in β reading benchmark results. that's it, that's the whole job. no cap.
π¦ SYNOPSIS π¦
package require Tcl 8.5 9
package require csv
package require bench::in ?0.2?
::bench::in::read file
look at that. so clean. β¨ ?0.2? means the version is optional, bestie, it's a lil "you can pin it if you want" situation π
π DESCRIPTION π
this package hands you one whole command for reading benchmark results out of files, sockets, etc. etc. β the whole "results can live anywhere" vibe π
now if you're the kind of reader who's actually into creating, processing or writing these results instead of just reading them? bestie you're in the wrong doc, go read bench β Processing benchmark suites π«Ά
and if it's the bench language itself that has you in a chokehold (valid), start with the bench language introduction and then proceed from there to the formal bench language specification. the pipeline is pipeline-ing π₯
π PUBLIC API π
π ::bench::in::read file
this command reads a benchmark result from the specified file and returns it as its result. one file in, one result out. main character energy fr fr π
and here's the slay part: it understands three different formats β the exact ones made by these commands:
bench::out::rawβ provided by packagebench.bench::out::csvβ provided by packagebench::out::csv.bench::out::textβ provided by packagebench::out::text.
and it automatically detects which format the input file is using. no flags, no hints, no "pls tell me which one" β it just knows π§β¨ iconic behaviour honestly
π BUGS, IDEAS, FEEDBACK π
ngl, this document AND the package it describes will undoubtedly contain bugs and other problems π it's giving "we're all just doing our best out here". pls report them in the category bench of the Tcllib Trackers at:
http://core.tcl.tk/tcllib/reportlist
also pls send any ideas for enhancements you may have for either the package and/or the documentation. we want them, fr fr π
when proposing code changes, pls provide unified diffs, i.e. the output of diff -u.
and note further β this one's important bestie β attachments are strongly preferred over inlined patches π you can make an attachment by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. yes, that specific button. the left-most one. π
π SEE ALSO π
bench, bench::out::csv, bench::out::text, bench_intro
(the whole friend group, basically π«Ά)
β KEYWORDS β
benchmark, csv, formatting, human readable, parsing, performance, reading, testing, text
π CATEGORY π
Benchmark tools
π COPYRIGHT π
Copyright (c) 2007 Andreas Kupries <andreas_kupries@users.sourceforge.net>
and that's the whole page, bestie π big love to tcllib, version 0.2, for bringing us bench::in(n) β go read some benchmark results, you deserve it πβ¨π¦
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- 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