Git Product home page Git Product logo

termbench's People

Contributors

cmuratori avatar lra-qc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termbench's Issues

Add Unicode output at the end

Add a bunch of VT and Unicode stuff at the end just so you can see along with the benchmark whether they handle RTL, Arabic, Hebrew, blink, inverse video, whatever.

- Casey

MacOS support pull request

Hi, I slightly modified the program to support MacOS Apple silicon (also retested the software back on Win64, Ubuntu Linux). It's only affecting the cpuid header which is not available on Mac. I was wondering if you would accept the pull request?

Build fails on Win11 + VS2022

Running build.bat there are 2 warning and 2 errors. Sample error:

termbench.cpp:286:43: error: constant expression evaluates to 17179869184 which cannot be narrowed to type 'size_t' (aka 'unsigned int') [-Wc++11-narrowing]
    {"ManyLine", ManyLine, {1*Meg, 1*Gig, 16*Gig}},
                                          ^~~~~~
termbench.cpp:286:43: note: insert an explicit cast to silence this issue
    {"ManyLine", ManyLine, {1*Meg, 1*Gig, 16*Gig}},
                                          ^~~~~~
                                          static_cast<size_t>( )

How do you build termbench on Win11 + VS2022? Thx.

Build error on old SDK

According to my registry I have version 6.3..9600 (yes double dot) of the sdk.

So the ENABLE_VIRTUAL_TERMINAL_PROCESSING is not defined, I slapped in this after include windows.h and it worked fine.

#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
#endif

Still slow though...

Manjaro Gnome benchmarks

I just wanted to share my benchmark results:

# gnome-terminal
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
VT support: no
ManyLine: 82.4858s (0.0121gb/s)
LongLine: 71.3162s (0.0140gb/s)
FGPerChar: 5.1682s (0.0562gb/s)
FGBGPerChar: 9.6057s (0.0587gb/s)
TermMarkV2 Normal: 168.5759s (0.0169gb/s)

# alacritty
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
VT support: no
ManyLine: 24.2993s (0.0412gb/s)
LongLine: 19.4805s (0.0513gb/s)
FGPerChar: 3.7274s (0.0779gb/s)
FGBGPerChar: 8.0369s (0.0702gb/s)
TermMarkV2 Normal: 55.5441s (0.0514gb/s)

# foot (https://codeberg.org/dnkl/foot)
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
VT support: no
ManyLine: 19.0191s (0.0526gb/s)
LongLine: 6.5224s (0.1533gb/s)
FGPerChar: 2.8055s (0.1035gb/s)
FGBGPerChar: 5.2957s (0.1065gb/s)
TermMarkV2 Normal: 33.6426s (0.0848gb/s)

# Hyper (https://hyper.is/) - it had some issues with the color output
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
VT support: no
ManyLine: 15.6713s (0.0638gb/s)
LongLine: 7.8218s (0.1278gb/s)
FGPerChar: 2.9988s (0.0968gb/s)
FGBGPerChar: 6.2595s (0.0901gb/s)
TermMarkV2 Normal: 32.7513s (0.0872gb/s)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.