liloneum / amapola

Subtitle Editor
2 stars 1 forks source link

Massive lag on startup #71

Open leplatrem opened 10 years ago

leplatrem commented 10 years ago

Just some feedback, no real priority.

On my computer, Ubuntu 14.04, amapola takes quite a while to start, with a peak of CPU usage.

Get these errors in ouput BTW :

Starting builds/amapola-debug/amapola...
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" 
QFSFileEngine::open: No file name specified
QLayout: Attempting to add QLayout "" to MySettings "settings", which already has a layout
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.audiodecode" 
QFSFileEngine::open: No file name specified
leplatrem commented 10 years ago

Looks like it's due to those vector initializations with 72 millions of empty values : https://github.com/liloneum/amapola/blob/77115fe14c93ab664c984f3f4d151cb77f7dc716/mywaveform.cpp#L251-L252

juiice commented 10 years ago

Yes I know. It's a quick fix very very bad. I have to find a solution for that. It's used to be able to manage 20 hours of subtitles timecodes.

2014-04-01 0:30 GMT+02:00 Mathieu Leplatre notifications@github.com:

Looks like it's due to those vector initializations with 72 millions of empty values : https://github.com/liloneum/amapola/blob/77115fe14c93ab664c984f3f4d151cb77f7dc716/mywaveform.cpp#L251-L252

Reply to this email directly or view it on GitHubhttps://github.com/liloneum/amapola/issues/71#issuecomment-39150477 .