Tcl Library Source Code
bench::in - Benchmarking/Performance tools
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to
or submit via the online form by Aug 20.

[ Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

bench::in(n) 0.1 tcllib "Benchmarking/Performance tools"


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


  • package require Tcl 8.2
  • package require csv
  • package require bench::in ?0.1?


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.

Bugs, Ideas, Feedback

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.


Benchmark tools