Skip to content

Support more informative performance logging option for markbind serve #1008

Description

@ang-zeyu

Is your request related to a problem?

It may be helpful to have some developer only code, e.g.

  • print extra debug statements ( this should be achieved through log=DEBUG as mentioned comment )
  • Outputting the state of content as it is passed through the various stages in page.generate() to seperate files
  • developer only front end components ( e.g. including a theme switcher on the template site to test front end changes for different themes )

More informative performance logging of various stages of page generation ( preprocess/parse/... ) can help us figure which areas are the bottlenecks that could be improved on.

Describe the solution you'd like
A separate command, such as markbind servedev can be implemented.

It would accept some options like -t for more detailed performance logging, -d for printing debugging statements, etc.

A new option for markbind build / serve, eg. -p, can be implemented for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions