Scroll to navigation

bench::in(3tcl) Benchmarking/Performance tools bench::in(3tcl)


bench::in - bench::in - Reading benchmark results


package require Tcl 8.2

package require csv

package require bench::in ?0.1?

::bench::in::read file


This package provides a command for reading benchmark results from files, sockets, etc.

A reader interested in the creation, processing or writing of such results should go and read bench - Processing benchmark suites instead.

If the bench language itself is the actual interest please start with the bench language introduction and then proceed from there to the formal bench language specification.


::bench::in::read file
This command reads a benchmark result from the specified file and returns it as its result. The command understands the three formats created by the commands
Provided by package bench.
Provided by package bench::out::csv.
Provided by package bench::out::text.

and automatically detects which format is used by the input file.


This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category bench of the Tcllib Trackers []. Please also report any ideas for enhancements you may have for either package and/or documentation.

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made 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.


bench, bench::out::csv, bench::out::text, bench_intro


benchmark, csv, formatting, human readable, parsing, performance, reading, testing, text


Benchmark tools


Copyright (c) 2007 Andreas Kupries <>
0.1 tcllib