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

refactor(parser): simplify DocumentFragment rule #1038

Merged

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Jun 8, 2022

also, refactor block delimiter tracking in preprocessing

Signed-off-by: Xavier Coulon [email protected]

also, refactor block delimiter tracking in preprocessing

Signed-off-by: Xavier Coulon <[email protected]>
@codecov
Copy link

codecov bot commented Jun 8, 2022

Codecov Report

Merging #1038 (55ccebe) into master (c3e86f3) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1038      +/-   ##
==========================================
- Coverage   80.22%   80.21%   -0.01%     
==========================================
  Files          86       86              
  Lines        7064     7061       -3     
==========================================
- Hits         5667     5664       -3     
  Misses        873      873              
  Partials      524      524              

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

Comparing with master branch:

name                                          old time/op    new time/op    delta
RealDocumentProcessing/demo.adoc-2              24.5ms ± 5%    24.3ms ± 4%    ~     (p=0.546 n=9+9)
RealDocumentProcessing/vertx-examples.adoc-2    67.0ms ± 4%    71.4ms ± 3%  +6.57%  (p=0.000 n=10+10)
RealDocumentProcessing/mocking.adoc-2           68.0ms ± 6%    67.2ms ± 3%    ~     (p=0.684 n=10+10)

name                                          old alloc/op   new alloc/op   delta
RealDocumentProcessing/demo.adoc-2              10.6MB ± 0%    10.6MB ± 0%    ~     (p=0.136 n=9+9)
RealDocumentProcessing/vertx-examples.adoc-2    27.9MB ± 0%    27.9MB ± 0%    ~     (p=0.549 n=9+10)
RealDocumentProcessing/mocking.adoc-2           23.7MB ± 0%    23.7MB ± 0%    ~     (p=0.113 n=9+10)

name                                          old allocs/op  new allocs/op  delta
RealDocumentProcessing/demo.adoc-2                123k ± 0%      123k ± 0%    ~     (p=0.107 n=9+9)
RealDocumentProcessing/vertx-examples.adoc-2      350k ± 0%      350k ± 0%    ~     (p=0.604 n=9+10)
RealDocumentProcessing/mocking.adoc-2             350k ± 0%      350k ± 0%    ~     (p=0.099 n=9+10)

Comparing with latest release:

name                                          old time/op    new time/op    delta
RealDocumentProcessing/demo.adoc-2              24.5ms ± 5%    16.3ms ± 6%  -33.58%  (p=0.000 n=9+9)
RealDocumentProcessing/vertx-examples.adoc-2    67.0ms ± 4%    47.8ms ± 5%  -28.66%  (p=0.000 n=10+10)
RealDocumentProcessing/mocking.adoc-2           68.0ms ± 6%    47.8ms ± 4%  -29.71%  (p=0.000 n=10+10)

name                                          old alloc/op   new alloc/op   delta
RealDocumentProcessing/demo.adoc-2              10.6MB ± 0%     8.8MB ± 0%  -16.69%  (p=0.000 n=9+10)
RealDocumentProcessing/vertx-examples.adoc-2    27.9MB ± 0%    24.0MB ± 0%  -13.96%  (p=0.000 n=9+9)
RealDocumentProcessing/mocking.adoc-2           23.7MB ± 0%    21.6MB ± 0%   -8.85%  (p=0.000 n=9+9)

name                                          old allocs/op  new allocs/op  delta
RealDocumentProcessing/demo.adoc-2                123k ± 0%      106k ± 0%  -13.19%  (p=0.000 n=9+9)
RealDocumentProcessing/vertx-examples.adoc-2      350k ± 0%      305k ± 0%  -12.85%  (p=0.000 n=9+10)
RealDocumentProcessing/mocking.adoc-2             350k ± 0%      326k ± 0%   -6.67%  (p=0.000 n=9+10)

@xcoulon xcoulon merged commit 9823021 into bytesparadise:master Jun 8, 2022
@xcoulon xcoulon deleted the simplify_document_fragment_rule branch June 8, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant