How to benchmark terminals or its related programs?benchmark tools for linuxDifference between the terminal...
Turn TDE off when restoring SQL databases
How to dismiss intrusive questions from a colleague with whom I don't work?
Why is 日本 read as "nihon" but not "nitsuhon"?
How can I support the recycling, but not the new production of aluminum?
In an emergency, how do I find and share my position?
What can I do to keep a threaded bolt from falling out of its slot?
Potential new partner angry about first collaboration - how to answer email to close up this encounter in a graceful manner
Why does my house heat up, even when it's cool outside?
Why is Boris Johnson visiting only Paris & Berlin if every member of the EU needs to agree on a withdrawal deal?
Can a group have a cyclical derived series?
What professions would a medieval village with a population of 100 need?
Are illustrations in novels frowned upon?
Sleeping solo in a double sleeping bag
The sound of thunder's like a whip
Is a butterfly one or two animals?
What would be the next technological step after advancing from cybernetic body parts to nanotechnology?
Was Tuvok bluffing when he said that Voyager's transporters rendered the Kazon weapons useless?
Is "stainless" a bulk or a surface property of stainless steel?
How to compare two different formulations of a problem?
What is the evidence on the danger of feeding whole blueberries and grapes to infants and toddlers?
What is the hex versus octal timeline?
Can others monetize my project with GPLv3?
Why are isotropic tensors not considered scalars?
Is refusing to concede in the face of an unstoppable Nexus combo punishable?
How to benchmark terminals or its related programs?
benchmark tools for linuxDifference between the terminal file and the terminal screenVM benchmark tools?Reading char-by-char silently does not workHow can I track commands executed in a terminal ( without bash_history )How to have type-ahead apply to bash history search (Ctrl-R)?Is there a way to benchmark the find command (to compare with locate)?What command can actually clear the terminal screen?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
For testing, I tried some terminals with several themes (e.g. oh-my-zsh), initialization scripts (.rc files) and many of my simple pty-like programs (using forkpty). Some of them lags in my PC which is not so high-end. So I want to test the time difference between the real program output (or its execution time) and when the output is shown in terminal. But not the execution time of that program.
If there is other way to benchmark only the terminal please correct me. Though I am interested in GNU/Linux distributions, a generalized answer is preferable.
linux terminal benchmark
add a comment |
For testing, I tried some terminals with several themes (e.g. oh-my-zsh), initialization scripts (.rc files) and many of my simple pty-like programs (using forkpty). Some of them lags in my PC which is not so high-end. So I want to test the time difference between the real program output (or its execution time) and when the output is shown in terminal. But not the execution time of that program.
If there is other way to benchmark only the terminal please correct me. Though I am interested in GNU/Linux distributions, a generalized answer is preferable.
linux terminal benchmark
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
You can start by runningtime cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)
– mosvy
2 days ago
add a comment |
For testing, I tried some terminals with several themes (e.g. oh-my-zsh), initialization scripts (.rc files) and many of my simple pty-like programs (using forkpty). Some of them lags in my PC which is not so high-end. So I want to test the time difference between the real program output (or its execution time) and when the output is shown in terminal. But not the execution time of that program.
If there is other way to benchmark only the terminal please correct me. Though I am interested in GNU/Linux distributions, a generalized answer is preferable.
linux terminal benchmark
For testing, I tried some terminals with several themes (e.g. oh-my-zsh), initialization scripts (.rc files) and many of my simple pty-like programs (using forkpty). Some of them lags in my PC which is not so high-end. So I want to test the time difference between the real program output (or its execution time) and when the output is shown in terminal. But not the execution time of that program.
If there is other way to benchmark only the terminal please correct me. Though I am interested in GNU/Linux distributions, a generalized answer is preferable.
linux terminal benchmark
linux terminal benchmark
asked 2 days ago
BiswapriyoBiswapriyo
1981 gold badge1 silver badge12 bronze badges
1981 gold badge1 silver badge12 bronze badges
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
You can start by runningtime cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)
– mosvy
2 days ago
add a comment |
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
You can start by runningtime cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)
– mosvy
2 days ago
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
You can start by running
time cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)– mosvy
2 days ago
You can start by running
time cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)– mosvy
2 days ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536160%2fhow-to-benchmark-terminals-or-its-related-programs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f536160%2fhow-to-benchmark-terminals-or-its-related-programs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I don't understand what you want to measure. The time it takes for the terminal itself to display a short piece of text is almost always too small to measure, so I don't think that's what you want. Scrolling can be slow for large amounts of text, but that's unrelated to what's running in a terminal. If a zsh theme feels slow, for example, it would be due to what it does, not due to how the terminal displays a few characters of output. What do you actually want to measure?
– Gilles
2 days ago
@Gilles Your comment provide some hints, I will recheck all the parameters for my test cases.
– Biswapriyo
2 days ago
You can start by running
time cat $(yes /etc/mailcap | sed 100q)
inside different terminal emulators -- eg. it's about 5 times faster in mlterm, than in xterm, and I hadn't had the patience to wait until it finishes in a linux frame buffer console ;-)– mosvy
2 days ago