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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: only generate data-comment-url once #17618

Merged
merged 3 commits into from
Nov 14, 2021

Commits on Nov 11, 2021

  1. perf: only generate data-comment-url once

    - Resolves go-gitea#17167
    - Don't generate the same `data-comment-url` over and over for each
    edited LOC.
    - Set `data-comment-url` for top-table of diff output.
    
    Data for diff with 2.5K additons 0 edits 0 deletions:
    ```
    No-patch:
    Split: 2.82 MB
    Unified: 2.37 MB
    
    Patch:
    Split: 2.59 MB (-8.2%)
    Unified: 2.15 MB (-9.3%)
    ```
    Gusted committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    dc55f42 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    2fee7a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2021

  1. Configuration menu
    Copy the full SHA
    c6a4bf5 View commit details
    Browse the repository at this point in the history