Bug 57043 - Undo/Redo is called "abusively" and has very bad impact on performances of JMeter
Summary: Undo/Redo is called "abusively" and has very bad impact on performances of JM...
Status: RESOLVED DUPLICATE of bug 57039
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 58707 58734 (view as bug list)
Depends on:
Blocks: 42248
  Show dependency tree
 
Reported: 2014-09-29 19:16 UTC by Philippe Mouawad
Modified: 2018-10-28 11:06 UTC (History)
5 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2014-09-29 19:16:28 UTC
As per Ubik Load Pack support report :
- Undo/Redo is called "abusively" when for example you:
1) Search for a node by name
2) In Module Controller GUI, when you expand a node
Comment 1 Philippe Mouawad 2014-10-02 19:57:28 UTC
Hello,
I notice big slowdowns of JMeter with nightly build related to Undo/Redo feature.
Scenario:
- I load a Test Plan with something like 218 elements (1.5m)
- I takes around 23 seconds to load with nightly vs 1.5 seconds on 2.11 on a MacBook Pro 2.7 Ghz Intel Core i7 16 Gb and -Xms2g -Xmx3g

Analyzing this, it is related to the fact that UndoHistory#add is called for every addition of a node (> 218 times) , an entry is added in history and finally undoHistory is cleaned up.

With default settings (I disabled by default undo, I get same load time as 2.10).

We need to improve the undo algorithm.
Regards
Comment 2 Philippe Mouawad 2014-10-02 20:02:43 UTC
Affects Nightly (before 2.12) of 2th October 2014
Comment 3 Philippe Mouawad 2015-12-09 20:44:00 UTC
*** Bug 58707 has been marked as a duplicate of this bug. ***
Comment 4 Philippe Mouawad 2015-12-14 19:53:43 UTC
*** Bug 58734 has been marked as a duplicate of this bug. ***
Comment 5 Philippe Mouawad 2018-10-28 11:06:22 UTC
This has been improved by Emilian Bold work within Bug 57039

*** This bug has been marked as a duplicate of bug 57039 ***
Comment 6 The ASF infrastructure team 2022-09-24 20:37:58 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3444