[LabPlot2] [Bug 478508] Program freezes/crashes when loading a previously saved .lml file.

2023-12-14 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=478508

Alexander Semke  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #3 from Alexander Semke  ---
(In reply to Francisco Ulloa from comment #2)
> Created attachment 164162 [details]
> Project file plus file imported into spreadsheet
> 
> The zip folder contains the project file after importing the example file
> into a spreadsheet and saving it.

your project file has 20 datetime columns with each having 21.5k rows. So, we
have to read in total 430k datetime values. Parsing datetime is expensive and
this explains why it takes so long. On my old Intel(R) Core(TM) i5-6500 CPU @
3.20GHz it takes 12s for example and on the newer AMD Ryzen 7 7700X it takes 6s
only. So, the faster the hardware the faster the import in this case. 

We'll check how to further optimize the import datetime data so it's also
faster on slower hardware.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 478508] Program freezes/crashes when loading a previously saved .lml file.

2023-12-14 Thread Francisco Ulloa
https://bugs.kde.org/show_bug.cgi?id=478508

--- Comment #2 from Francisco Ulloa  ---
Created attachment 164162
  --> https://bugs.kde.org/attachment.cgi?id=164162=edit
Project file plus file imported into spreadsheet

The zip folder contains the project file after importing the example file into
a spreadsheet and saving it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 478508] Program freezes/crashes when loading a previously saved .lml file.

2023-12-14 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=478508

--- Comment #1 from Alexander Semke  ---
(In reply to Francisco Ulloa from comment #0)
> SUMMARY
> ***
> NOTE: If you are reporting a crash, please try to attach a backtrace with
> debug symbols.
> See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> 
> STEPS TO REPRODUCE
> 1. Import an .csv file to a spreadsheet.
> 2. Save the project as .lml file.
> 3. Re open the project from a new window, by using "Open".
> 
> OBSERVED RESULT
> The program freezes and the file is not charged after 20 minutes.

Can you please attach your project file so we can try to reproduce this problem
on our side? Thank you.

-- 
You are receiving this mail because:
You are watching all bug changes.