Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce a LRU compiled style cache for the HTML formatter #938

Merged
merged 1 commit into from
Feb 27, 2024

Commits on Feb 27, 2024

  1. feat: introduce a LRU compiled style cache for the HTML formatter

    ```
    馃悮 ~/dev/chroma $ benchcmp before.txt after.txt                                                                                                                                                            master
    benchmark                    old ns/op     new ns/op     delta
    BenchmarkHTMLFormatter-8     160560        77797         -51.55%
    
    benchmark                    old allocs     new allocs     delta
    BenchmarkHTMLFormatter-8     1267           459            -63.77%
    
    benchmark                    old bytes     new bytes     delta
    BenchmarkHTMLFormatter-8     52568         25067         -52.32%
    ```
    alecthomas committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    55f4a05 View commit details
    Browse the repository at this point in the history