Performance regression in c9abc05 (macOS)

Issue #810 resolved
JZ created an issue

Upgraded from 2aaffd0 Tue Jan 23 2018 at 01:25:26 to c9abc05, Mon Feb 12 2018 at 17:58:05.

Loading a pattern (Aldrich jacket), 85kB .val file, v0.7.5 works in 2aaffd0 as expected. CPU usage minimal, movement around the workspace in Draw mode responsive and without delay.

When opening the same file in c9abc05, one core is maxed out and the application freezes intermittently. Long delays in response to middle-mouse move of the drawing area and attempts to zoom. Unfreezes momentarily to freeze again for some seconds. All the time there's a 100%+ CPU load.

$ ./Valentina [redacted]/Valentina/patterns/[redacted].val
Checked locale: "en_GB"
DEBUG:Log file [redacted]/Library/Application Support/Valentina/valentina-pid51633.log was locked.
DEBUG:Clearing old logs
DEBUG:Version: "0.6.0.0a"
DEBUG:Build revision: Git:c9abc05
DEBUG:"Based on Qt 5.10.0 (Clang 8.1 (Apple), 64 bit)"
DEBUG:Built on Feb 12 2018 at 17:58:47
DEBUG:Command-line arguments: ("./Valentina", "[redacted]/Valentina/patterns/[redacted].val")
DEBUG:Process ID: 51633
DEBUG:Checked locale: "en_US"
DEBUG:Initialization property browser.
DEBUG:Initialization groups dock.
DEBUG:Can't get tag Groups.
DEBUG:Updating recent file actions.
DEBUG:Autosaving each 1 minutes.
DEBUG:Reading settings.
DEBUG:Set current name to ""
DEBUG:Loading new file [redacted].val.
DEBUG:Loking file
DEBUG:Pattern file [redacted].val was locked.
DEBUG:Validation xml file [redacted].val.
DEBUG:Schema loaded.
DEBUG:Validation xml file /var/folders/6n/5f48r6n51s9gjlbp806pcdm00000gn/T/Valentina.fDkeDa.
DEBUG:Schema loaded.
DEBUG:Validation xml file [redacted].vit.
DEBUG:Schema loaded.
DEBUG:Full parsing file
DEBUG:Parsing pattern.
DEBUG:Full parse.
DEBUG:Clearing container data for full parse.
DEBUG:Tag version.
DEBUG:Tag unit.
DEBUG:Tag description.
DEBUG:Tag notes.
DEBUG:Pattern name.
DEBUG:Pattern number.
DEBUG:Company name.
DEBUG:Pattern label.
DEBUG:Tag measurements.
DEBUG:Tag increments.
DEBUG:Tag prewiew calculations.
DEBUG:Tag draw.
DEBUG:Tag calculation.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag operation.
DEBUG:Tag operation.
DEBUG:Tag operation.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSpline.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag line.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag line.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VToolSplinePath.
DEBUG:Tag point.
DEBUG:Tag modeling.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag path.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag path.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag path.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag path.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSpline.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag point.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag spline.
DEBUG:VNodeSplinePath.
DEBUG:Tag point.
DEBUG:Tag details.
DEBUG:Tag groups.
DEBUG:Set current name to "[redacted]"
DEBUG:Updating recent file list.
DEBUG:Updating recent file actions.
DEBUG:Updating restore file list.
DEBUG:File loaded.
DEBUG:Show details scene
DEBUG:Show draw scene
DEBUG:Show details scene
DEBUG:Show draw scene

10s hang on any attempt to update the drawing area (move, zoom). Application menus unresponsive but can be operated with multiple second delays.

DEBUG:Show draw scene
DEBUG:Autosaving pattern.
DEBUG:Autosaving pattern.
DEBUG:Autosaving pattern.
DEBUG:Closing main window
DEBUG:Show draw scene
DEBUG:File [redacted].val closed correct.
DEBUG:Canceling tool.
DEBUG:Dialog closed.
DEBUG:Application closing.

Comments (6)

  1. Roman Telezhynskyi repo owner

    I need your file. Don't forget measurements. Can send me privately if you want.

  2. Log in to comment