Skip to content

Logging makes it look like usage stats generation instead of generating pages takes very long #1156

@esbakker

Description

@esbakker

Originally I thought generating the usage stats took long, but it appears to be an issue with the logging. Take a look at these logs:

Generating Summary Outputs                                                                           (00:00.001 / 00:40.787, 556Mb)
DB Cumulative Time invested: 00:00:00.284
Sending Usage Stats to Server                                                                        (02:02.552 / 02:43.339, 508Mb)

It takes 2 minutes to send the usage stats, even though I opted out. First I thought the issue was with generating the stats (which still happens when you opt-out).
But it turns out that the genBasePages() call doesn't log anything while that is the part of the build that takes longer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions