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

Beef #113

Merged
merged 6 commits into from Mar 21, 2020
Merged

Beef #113

merged 6 commits into from Mar 21, 2020

Conversation

@Licenser
Copy link
Member

Licenser commented Mar 20, 2020

experiment with beef

closes #112

Licenser added 4 commits Mar 20, 2020
@codecov

This comment has been minimized.

Copy link

codecov bot commented Mar 20, 2020

Codecov Report

Merging #113 into master will decrease coverage by 0.25%.
The diff coverage is 48.48%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
- Coverage   87.15%   86.90%   -0.26%     
==========================================
  Files          34       34              
  Lines        4780     4795      +15     
==========================================
+ Hits         4166     4167       +1     
- Misses        614      628      +14     
Flag Coverage Δ
#avx2 81.26% <48.48%> (-0.22%) ⬇️
#avx2KnownKey 80.71% <48.48%> (-0.20%) ⬇️
#sse 82.01% <48.48%> (-0.26%) ⬇️
#sseKnownKey 81.44% <48.48%> (-0.26%) ⬇️
Impacted Files Coverage Δ
src/lib.rs 96.58% <ø> (ø)
src/serde/value/borrowed/de.rs 65.33% <0.00%> (-2.28%) ⬇️
src/serde/value/borrowed/se.rs 0.00% <0.00%> (ø)
src/value/owned/from.rs 88.52% <0.00%> (-3.01%) ⬇️
src/value/borrowed/from.rs 88.13% <16.66%> (-6.41%) ⬇️
src/serde/value/owned/de.rs 51.67% <25.00%> (-1.80%) ⬇️
src/known_key.rs 97.84% <100.00%> (ø)
src/value/borrowed.rs 99.44% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 361a914...91d045d. Read the comment docs.

@Licenser

This comment has been minimized.

Copy link
Member Author

Licenser commented Mar 20, 2020

before

======= simd_json ======== parse|stringify ===== parse|stringify ====
data/canada.json         500 MB/s   340 MB/s   670 MB/s   300 MB/s
data/citm_catalog.json  1020 MB/s   340 MB/s  1470 MB/s   450 MB/s
data/twitter.json        900 MB/s   540 MB/s  1050 MB/s   610 MB/s
data/log.json           1080 MB/s   720 MB/s  1080 MB/s   720 MB/s

===== simd_json_tape ===== parse|stringify ===== parse|stringify ====
data/canada.json         740 MB/s                    
data/citm_catalog.json  1720 MB/s                    
data/twitter.json       1590 MB/s                    
data/log.json           2170 MB/s                    

After

======= simd_json ======== parse|stringify ===== parse|stringify ====
data/canada.json         540 MB/s   350 MB/s   680 MB/s   310 MB/s
data/citm_catalog.json  1100 MB/s   330 MB/s  1490 MB/s   430 MB/s
data/twitter.json        950 MB/s   520 MB/s  1060 MB/s   590 MB/s
data/log.json           1080 MB/s   720 MB/s  1080 MB/s   720 MB/s

===== simd_json_tape ===== parse|stringify ===== parse|stringify ====
data/canada.json         760 MB/s                    
data/citm_catalog.json  1840 MB/s                    
data/twitter.json       1650 MB/s                    
data/log.json           2170 MB/s                    
Licenser added 2 commits Mar 21, 2020
@Licenser

This comment has been minimized.

Copy link
Member Author

Licenser commented Mar 21, 2020

This is behind a feature flag as it makes the interface harder to use and 'forces' an additional non-standard crate. But it looks like it's worth it in some cases especially for tape parsing.

@Licenser Licenser marked this pull request as ready for review Mar 21, 2020
@Licenser Licenser requested review from sunnygleason, darach and ernadh Mar 21, 2020
@Licenser

This comment has been minimized.

Copy link
Member Author

Licenser commented Mar 21, 2020

the 0.26% decrease in coverage is probably based on property-based variation, so in acceptable limits

@darach
darach approved these changes Mar 21, 2020
Copy link
Collaborator

darach left a comment

LGTM!

@Licenser Licenser merged commit 932f36b into master Mar 21, 2020
69 of 71 checks passed
69 of 71 checks passed
clippy_check (-C target-cpu=native)
Details
build (stable, ubuntu-latest, -C target-cpu=native)
Details
clippy_check (-C target-cpu=native -C target-feature=-avx2)
Details
build (stable, ubuntu-latest, -C target-cpu=native, --features known-key)
Details
build (stable, ubuntu-latest, -C target-cpu=native, --features 128bit)
Details
build (stable, ubuntu-latest, -C target-cpu=native, --features beef)
Details
build (stable, ubuntu-latest, -C target-cpu=native, --features beef,known-key)
Details
build (stable, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (stable, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (stable, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (stable, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (stable, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,known...
Details
build (stable, windows-latest, -C target-cpu=native)
Details
build (stable, windows-latest, -C target-cpu=native, --features known-key)
Details
build (stable, windows-latest, -C target-cpu=native, --features 128bit)
Details
build (stable, windows-latest, -C target-cpu=native, --features beef)
Details
build (stable, windows-latest, -C target-cpu=native, --features beef,known-key)
Details
build (stable, windows-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (stable, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (stable, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (stable, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (stable, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,know...
Details
build (stable, macOS-latest, -C target-cpu=native)
Details
build (stable, macOS-latest, -C target-cpu=native, --features known-key)
Details
build (stable, macOS-latest, -C target-cpu=native, --features 128bit)
Details
build (stable, macOS-latest, -C target-cpu=native, --features beef)
Details
build (stable, macOS-latest, -C target-cpu=native, --features beef,known-key)
Details
build (stable, macOS-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (stable, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (stable, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (stable, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (stable, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,known-...
Details
build (nightly, ubuntu-latest, -C target-cpu=native)
Details
build (nightly, ubuntu-latest, -C target-cpu=native, --features known-key)
Details
build (nightly, ubuntu-latest, -C target-cpu=native, --features 128bit)
Details
build (nightly, ubuntu-latest, -C target-cpu=native, --features beef)
Details
build (nightly, ubuntu-latest, -C target-cpu=native, --features beef,known-key)
Details
build (nightly, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (nightly, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (nightly, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (nightly, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (nightly, ubuntu-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,know...
Details
build (nightly, windows-latest, -C target-cpu=native)
Details
build (nightly, windows-latest, -C target-cpu=native, --features known-key)
Details
build (nightly, windows-latest, -C target-cpu=native, --features 128bit)
Details
build (nightly, windows-latest, -C target-cpu=native, --features beef)
Details
build (nightly, windows-latest, -C target-cpu=native, --features beef,known-key)
Details
build (nightly, windows-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (nightly, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (nightly, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (nightly, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (nightly, windows-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,kno...
Details
build (nightly, macOS-latest, -C target-cpu=native)
Details
build (nightly, macOS-latest, -C target-cpu=native, --features known-key)
Details
build (nightly, macOS-latest, -C target-cpu=native, --features 128bit)
Details
build (nightly, macOS-latest, -C target-cpu=native, --features beef)
Details
build (nightly, macOS-latest, -C target-cpu=native, --features beef,known-key)
Details
build (nightly, macOS-latest, -C target-cpu=native -C target-feature=-avx2)
Details
build (nightly, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features known-key)
Details
build (nightly, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features 128bit)
Details
build (nightly, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features beef)
Details
build (nightly, macOS-latest, -C target-cpu=native -C target-feature=-avx2, --features beef,known...
Details
tarpaulin-sse
Details
tarpaulin-avx2
Details
tarpaulin-sse-known-key
Details
tarpaulin-avx2-known-key
Details
codecov/patch 48.48% of diff hit (target 87.15%)
Details
codecov/project 86.90% (+-0.26%) compared to 361a914
Details
clippy clippy
Details
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.