Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add terminaltables benchmark #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 21, 2019

  1. add terminaltables benchmark

    The result of this here looks like this:
    
    ===========================  ==========  ===========
    Table formatter                time, μs    rel. time
    ===========================  ==========  ===========
    csv to StringIO                    14.7          1.0
    join with tabs and newlines        20.3          1.4
    asciitable (0.8.0)                338.4         23.0
    tabulate (0.8.3)                  725.3         49.3
    terminaltables (3.1.0)            806.5         54.8
    PrettyTable (0.7.2)              1364.5         92.7
    texttable (1.6.2)                2044.0        138.8
    ===========================  ==========  ===========
    
    ie. it is *very* close to tabulate's results in terms of performance,
    although it doesn't have the flexibility of tabulate in terms of
    output formats.
    anarcat committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    4fac05d View commit details
    Browse the repository at this point in the history