Skip to content

benchmark with markdown-it #19

@Mister-Hope

Description

@Mister-Hope

Summary

Adding a benchmark comparison with markdown-it

Motivation

This feature allows people to compare the performance of the current new library.

Though docs mentions a (~30% reduction), but I don't think this is worth considering in most cases. Performance should take the first place :)

For me, I would doubt the performance with the introduction with async renderers with contents just rendered by sync rules (e.g.: markdown that supposed to render under GFM)。

BTW, memory usage should be another important data that should contain in benchmark besides time.

Proposed Solution

I see a bench folder in packages, but it does not have any description.

Anyway, if you want more people to switch to your lib, you'd better include it in your docs.

We currently consider it for VuePress v2 and the integration for mdit-plugins

Would you like to work on this new feature?

  • I'm interested in working on this new feature

    Sorry no, I can surely add a simple one, but I am not the one who writes the code. I think it's better for the author to add some worth comparing cases in benchmark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuresNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions