Project

General

Profile

Actions

Bug #25505

closed

Editor gets slower with growing line numbers

Added by Steffen Müller almost 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Administrator Admin
Category:
t3editor
Target version:
-
Start date:
2007-11-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It generally works with Firefox 2.0.0.8, but very slow on my Laptop
(Pentium M 1.3 GHz, 1.25 GB RAM, Xubuntu Gutsy 7.10) if > 100 lines
It takes >10 seconds for about 200 lines to be highlighted after the
first start of t3editor.
It also happens that some characters are shifted and the editor feels
sticky.
From >300 lines it is not usable any more because of slowness.
The server is Ubuntu Gutsy 7.10, Apache 2.2.4, PHP 5.2.3, MySQL 5.0.45; on a virtual machine, Intel P4 2.4 GHz, 128MB RAM.

(issue imported from #M6816)

Actions #1

Updated by Administrator Admin almost 17 years ago

the server is irrelevant in this case, because parsing and highlighting is completely done in javascript on the client side,

i have nor problem to edit large typoscripts (> 400 lines).
sure, parsing and coloring the whole code will take, but i can start editing although coloring is not finished.

everybody who reads this, and like to help on this issue:
please notice my post on typo3.dev (subj: "t3editor: performance issue") and report about your timing.
thanks in advance!

Actions #2

Updated by Administrator Admin over 16 years ago

i need more feedback on this.

are you satisfied with the t3editor performance

Actions #3

Updated by Administrator Admin over 16 years ago

I think the performance is good enough. And anyway: no one should have TS templates with more than 400 lines - there is this thing called ext template ;)

But FYI (time to full coloring and highlighting):

973 lines - 18 sec
670 lines - 12 sec
166 lines - 4 sec

all on your demosite with an amd 64 x2 6000+ Ubuntu Hardy, Firefox 3 beta 5 and 2GB RAM

Actions #4

Updated by Steffen Müller over 16 years ago

I have:

973 lines - 44 sec
670 lines - 30 sec
166 lines - 7 sec

on your demosite (http://t3e.etobi.de/typo3) and the above mentioned Laptop as client, when I paste those lines into empty editor and wait until rendering is finished.

That means an avg. of 22 lines / second.

Actions #5

Updated by Administrator Admin over 16 years ago

my demo site holods an very old code (before rc1 i think)
so this should no be used anymore. since then some major part get changed.
i'll try to update the installation in the next days.

how ever, thanks for your performance reports.

i'm satisfied with the performance, i close this issue till someone complain about the t3editor speed

Actions #6

Updated by Michael Stucki almost 11 years ago

  • Project changed from 75 to TYPO3 Core
  • Target version deleted (0)
Actions #7

Updated by Michael Stucki almost 11 years ago

  • Category set to t3editor
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF