bugGNU TeXmacs - Bugs: bug #42455, TeXmacs is slow

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42455: TeXmacs is slow

Submitted by:  Victor Porton <porton>
Submitted on:  Wed 28 May 2014 09:27:12 PM UTC  
 
Category: EditorPriority: 7 - High
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

(Jump to the original submission Jump to the original submission)

Thu 03 Jul 2014 07:17:26 AM UTC, comment #8:

Youjun confirmed the performance improvement with the patch "revert_2655.diff".

As far as rev 8087 is concerned, is seems that it take more time to compute the rendering because more things are done : the typesetter recompute the document until references are defined (when possible). This is made in order to compute forward references properly for the first time. In theory, this should not impede computation for "well defined" documents.

Francois Poulain <fpoulain>
Project Member
Wed 02 Jul 2014 02:11:41 PM UTC, comment #7:

Here is Youjun's document which highlight r2655's regression.

To see the regression, go in formula (1) and switch it to inline equation. The switch outline->inline makes the editor busy after rev 2655.

Francois Poulain <fpoulain>
Project Member
Wed 02 Jul 2014 12:20:18 PM UTC, comment #6:

Fyi, I made tests with the document given by Youjun Hu, in the following email:

Francois Poulain <fpoulain>
Project Member
Wed 02 Jul 2014 12:16:41 PM UTC, comment #5:

I spent many hours for searching another performance regression; and it was rewarding.

The rev r2655 introduced this :

I have no sounding idea of what this should make, but it clearly add a big overcomputing effort when removing lines is concerned.

Here is a patch for reverting it.

(file #31661)

Francois Poulain <fpoulain>
Project Member
Tue 01 Jul 2014 08:27:41 AM UTC, comment #4:

Here is a patch for reverting r8087.

(file #31649)

Francois Poulain <fpoulain>
Project Member
Mon 30 Jun 2014 09:10:06 AM UTC, comment #3:

I meant processing big document, not bug. :)

Francois Poulain <fpoulain>
Project Member
Fri 27 Jun 2014 01:58:22 PM UTC, comment #2:

I made some tests on big a document on different versions of TeXmacs since 2012.

The performances are stable, divided in two periods. In fact, the rev 8087 has introduced a big overhead when processing bug documents. It needed (on my example) 16s to load the document before the commit, and 26s after.

Joris, I let you checking it.

Francois Poulain <fpoulain>
Project Member
Fri 30 May 2014 08:10:01 AM UTC, comment #1:

Although improvements may be done, you are probably interested in splitting large documents. See e.g. http://www.texmacs.org/tmweb/manual/webman-links.en.html#auto-28 for help.

Francois Poulain <fpoulain>
Project Member
Wed 28 May 2014 09:27:12 PM UTC, original submission:

TeXmacs 1.0.7.18 in a Debian Linux i7 machine is rather slow editing a 16979379 bytes (246 pages) book.

I'd like if the next version would be faster editing big files.

Victor Porton <porton>

 

Attached Files
file #31666:  test_bug_42455.tm added by fpoulain (339KiB - text/texmacs)
file #31661:  revert_2655.diff added by fpoulain (478B - text/x-diff)
file #31649:  revert_8087.diff added by fpoulain (6KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Updated the item)
  • -unavailable- added by vdhoeven (Updated the item)
  • -unavailable- added by porton (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Dec 2017 03:10:24 PM UTCvdhoevenPriority6 - Bit higher=>7 - High
    Sun 22 Mar 2015 10:06:09 AM UTCmdbenitoPriority5 - Normal=>6 - Bit higher
    Wed 02 Jul 2014 02:12:17 PM UTCfpoulainAttached File-=>Added test_bug_42455.tm, #31666
    Wed 02 Jul 2014 12:35:44 PM UTCvdhoevenCategoryNone=>Editor
      Item GroupNone=>Error
    Wed 02 Jul 2014 12:16:41 PM UTCfpoulainAttached File-=>Added revert_2655.diff, #31661
    Tue 01 Jul 2014 08:27:41 AM UTCfpoulainAttached File-=>Added revert_8087.diff, #31649
    Fri 27 Jun 2014 01:58:22 PM UTCfpoulainStatusNone=>Confirmed
      Assigned toNone=>vdhoeven
      Release1.0.7.18=>

    Back to the top


    Powered by Savane 3.1-cleanup1