View Issue Details

IDProjectCategoryView StatusLast Update
0005068Composr alpha bug reports[All Projects] General / Uncategorisedpublic2022-11-26 01:05
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Summary0005068: 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.
Sponsorship open

Activities

Chris Graham

2022-11-22 16:22

administrator   ~0007692

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   ~0007740

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 Patrick Schmalstig New Issue
2022-11-21 16:27 Patrick Schmalstig Status non-assigned => assigned
2022-11-21 16:27 Patrick Schmalstig 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