View Issue Details

IDProjectCategoryView StatusLast Update
5068Composr alpha bug reportsGeneral / Uncategorisedpublic2022-11-26 01:05
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary5068: phpBB importer: Posts importer running slow and resource-heavy with only 5 posts
DescriptionThe phpBB posts importer takes about 30 seconds to run on my fairly new machine and also uses a lot of CPU. This is despite only having 5 posts to import.
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2022-11-22 16:22

administrator   ~7692

I'll run xdebug profiling while doing an import.
However I'll need a copy of your DB dump as I can't currently reproduce the issue.

Chris Graham

2022-11-26 01:05

administrator   ~7740

I found a lot of problems testing importing which I fixed in https://gitlab.com/composr-foundation/composr/-/commit/920963f7a1ee41cf9a9a4092fc8eef2ab5d339da
This included writing a new (necessarily much more complex) phpBB post parser.
I then profiled parsing and optimised in https://gitlab.com/composr-foundation/composr/-/commit/6ad76a7eaa33a2e191b0f04480b901b6e6de479c

I think the core issue with this issue was slow post parsing.

Issue History

Date Modified Username Field Change
2022-11-21 16:27 PDStig New Issue
2022-11-21 16:27 PDStig Status Not Assigned => Assigned
2022-11-21 16:27 PDStig Assigned To => Chris Graham
2022-11-22 16:22 Chris Graham Note Added: 0007692
2022-11-26 01:05 Chris Graham Status Assigned => Resolved
2022-11-26 01:05 Chris Graham Resolution open => fixed
2022-11-26 01:05 Chris Graham Note Added: 0007740
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised