View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005068 | Composr alpha bug reports | [All Projects] General / Uncategorised | public | 2022-11-21 16:27 | 2022-11-26 01:05 |
| Reporter | Patrick Schmalstig | Assigned To | Chris Graham | ||
| Severity | Minor-bug | ||||
| Status | resolved | Resolution | fixed | ||
| Summary | 0005068: phpBB importer: Posts importer running slow and resource-heavy with only 5 posts | ||||
| Description | The 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. | ||||
| Tags | No tags attached. | ||||
| Sponsorship open | |||||
|
|
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. |
|
|
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. |
| 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 |