I ran this simple script, to print out 500,000 lines and timed it. Both the xterm and the urxvt have 20k scrollback buffers.
To my utter amazement ( and I'm still wondering if it's an xterm bug), the xterm took a whopping 1067 seconds, while the urxvt only took 19 seconds.#!/usr/bin/perl use warnings; use strict; my $start = time; for (1..500000){ print "$_\n"; } my $end = time; my $diff = $end - $start; print "$diff\n";
I would be interested in hearing the results from other people, on their xterm speed, and maybe k-terminal, etc.
Anyone have clues as to why this occurs?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (OT) X terminal output speed on linux
by shmem (Chancellor) on Oct 16, 2006 at 15:45 UTC | |
by ambrus (Abbot) on Oct 16, 2006 at 16:53 UTC | |
by zentara (Cardinal) on Oct 17, 2006 at 13:05 UTC | |
|
Re: (OT) X terminal output speed on linux
by Joost (Canon) on Oct 16, 2006 at 14:46 UTC | |
|
Re: (OT) X terminal output speed on linux
by Scott7477 (Chaplain) on Oct 16, 2006 at 15:18 UTC | |
|
Re: (OT) X terminal output speed on linux
by rhesa (Vicar) on Oct 16, 2006 at 15:23 UTC | |
|
Re: (OT) X terminal output speed on linux
by Anonymous Monk on Oct 16, 2006 at 15:32 UTC |