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

Cargo/Config: remove forced AES-NI and SSE3, as it is now autodetected by the crate #168

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

commial
Copy link
Contributor

@commial commial commented Jun 25, 2023

Fix #92

@github-actions
Copy link

Benchmark for d8e2a1c

Click to view benchmark
Test Base PR %
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1024 642.6±44.00ns 648.4±48.99ns +0.90%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1048576 79.4±7.28µs 80.1±5.36µs +0.88%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/16777216 1296.3±71.93µs 1433.0±37.91µs +10.55%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/65536 5.4±0.80µs 6.0±0.45µs +11.11%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1024 817.3±452.23µs 822.1±456.67µs +0.59%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1048576 34.6±0.23ms 34.9±0.19ms +0.87%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/16777216 183.8±0.45ms 188.5±0.59ms +2.56%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/65536 7.6±4.28ms 7.6±4.28ms 0.00%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1024 1107.0±624.05µs 1118.2±630.48µs +1.01%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1048576 46.6±0.09ms 47.3±0.13ms +1.50%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/16777216 378.4±0.71ms 385.7±0.49ms +1.93%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/65536 9.8±4.61ms 10.0±4.71ms +2.04%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1024 1465.0±519.62µs 1501.5±548.88µs +2.49%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1048576 17.0±0.01ms 17.3±0.01ms +1.76%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/16777216 245.9±0.09ms 251.4±0.09ms +2.24%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/65536 2.8±0.13ms 2.8±0.13ms 0.00%
failsafe_multiple_layers_repair/Layers(0x0)/4194304 65.4±0.50ms 65.2±0.50ms -0.31%
failsafe_multiple_layers_repair/Layers(COMPRESS)/4194304 113.1±0.24ms 113.7±0.21ms +0.53%
failsafe_multiple_layers_repair/Layers(ENCRYPT | COMPRESS)/4194304 129.8±0.40ms 130.8±0.33ms +0.77%
failsafe_multiple_layers_repair/Layers(ENCRYPT)/4194304 87.5±0.50ms 87.2±0.42ms -0.34%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1024 122.8±9.16ns 122.1±3.23ns -0.57%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1048576 79.0±10.96µs 75.7±11.96µs -4.18%
reader_multiple_layers_multiple_block_size/Layers(0x0)/16777216 1351.2±451.82µs 1326.0±84.30µs -1.87%
reader_multiple_layers_multiple_block_size/Layers(0x0)/65536 4.6±0.70µs 5.4±0.52µs +17.39%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 2.6±2.52µs 2.8±2.69µs +7.69%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 2.4±0.02ms 2.4±0.02ms 0.00%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 138.2±0.58ms 139.2±0.69ms +0.72%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 181.9±171.97µs 193.8±182.81µs +6.54%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 21.2±2.90µs 21.5±2.99µs +1.42%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 22.6±0.06ms 23.1±0.11ms +2.21%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 373.8±0.72ms 376.3±0.65ms +0.67%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 1316.2±179.21µs 1326.9±178.89µs +0.81%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 14.4±0.87µs 14.7±0.91µs +2.08%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 15.1±0.01ms 15.4±0.01ms +1.99%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 244.1±0.08ms 249.6±0.54ms +2.25%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 917.3±53.66µs 938.1±54.93µs +2.27%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1024 579.8±31.02ns 587.8±34.28ns +1.38%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1048576 81.6±10.69µs 86.1±6.02µs +5.51%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/16777216 1323.8±56.87µs 1390.6±44.84µs +5.05%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/65536 5.5±0.76µs 5.9±0.85µs +7.27%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1024 13.5±0.09µs 13.6±0.25µs +0.74%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1048576 11.6±0.04ms 11.7±0.04ms +0.86%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/16777216 185.1±0.70ms 185.0±0.41ms -0.05%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/65536 726.8±8.74µs 734.3±5.30µs +1.03%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1024 26.1±0.18µs 26.6±0.30µs +1.92%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1048576 23.7±0.05ms 23.9±0.06ms +0.84%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/16777216 378.8±0.71ms 384.1±0.66ms +1.40%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/65536 1469.3±12.71µs 1476.3±16.02µs +0.48%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1024 17.3±0.23µs 17.4±0.21µs +0.58%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1048576 15.4±0.01ms 15.7±0.01ms +1.95%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/16777216 245.9±0.06ms 251.4±0.11ms +2.24%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/65536 975.3±1.94µs 980.4±1.11µs +0.52%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1024 8.4±0.07µs 8.3±0.08µs -1.19%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1048576 8.2±0.23ms 8.2±0.23ms 0.00%
writer_multiple_layers_multiple_block_size/Layers(0x0)/16777216 131.0±0.46ms 130.9±0.45ms -0.08%
writer_multiple_layers_multiple_block_size/Layers(0x0)/65536 510.6±14.86µs 511.8±20.71µs +0.24%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 13.5±0.07µs 13.5±0.29µs 0.00%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 17.5±0.38ms 17.4±0.38ms -0.57%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 485.0±0.93ms 468.4±1.46ms -3.42%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 835.9±17.75µs 843.9±36.85µs +0.96%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 13.5±0.11µs 13.9±0.55µs +2.96%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 20.5±0.71ms 20.6±0.70ms +0.49%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 676.7±3.12ms 663.8±2.30ms -1.91%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 842.2±14.76µs 831.3±11.64µs -1.29%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 24.8±0.05µs 24.9±0.11µs +0.40%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 23.7±0.07ms 23.9±0.08ms +0.84%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 378.8±0.56ms 384.0±0.53ms +1.37%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 1478.0±6.09µs 1495.6±4.87µs +1.19%

@github-actions
Copy link

Benchmark for f3c9db3

Click to view benchmark
Test Base PR %
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1024 688.1±58.42ns 734.0±76.73ns +6.67%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/1048576 79.8±7.61µs 93.0±4.50µs +16.54%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/16777216 1419.1±499.93µs 1439.3±39.77µs +1.42%
chunk_size_decompress_mutilfiles_random/Layers(0x0)/65536 5.6±0.57µs 6.4±0.46µs +14.29%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1024 820.3±454.32µs 828.0±456.09µs +0.94%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/1048576 34.5±0.06ms 35.3±0.07ms +2.32%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/16777216 183.4±0.68ms 187.0±0.41ms +1.96%
chunk_size_decompress_mutilfiles_random/Layers(COMPRESS)/65536 7.5±4.26ms 7.7±4.35ms +2.67%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1024 1116.6±629.70µs 1133.6±639.56µs +1.52%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/1048576 47.2±0.10ms 48.2±0.07ms +2.12%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/16777216 379.8±0.42ms 388.2±0.39ms +2.21%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT | COMPRESS)/65536 9.9±4.65ms 10.1±4.79ms +2.02%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1024 1479.7±524.47µs 1506.6±534.23µs +1.82%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/1048576 17.4±0.01ms 17.7±0.00ms +1.72%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/16777216 254.1±0.10ms 257.4±0.11ms +1.30%
chunk_size_decompress_mutilfiles_random/Layers(ENCRYPT)/65536 2.8±0.13ms 2.9±0.13ms +3.57%
failsafe_multiple_layers_repair/Layers(0x0)/4194304 65.5±0.47ms 65.6±0.64ms +0.15%
failsafe_multiple_layers_repair/Layers(COMPRESS)/4194304 113.3±0.25ms 114.7±0.39ms +1.24%
failsafe_multiple_layers_repair/Layers(ENCRYPT | COMPRESS)/4194304 131.0±0.23ms 132.3±0.25ms +0.99%
failsafe_multiple_layers_repair/Layers(ENCRYPT)/4194304 88.7±0.48ms 88.6±0.55ms -0.11%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1024 135.7±12.13ns 134.2±12.44ns -1.11%
reader_multiple_layers_multiple_block_size/Layers(0x0)/1048576 93.0±4.58µs 97.2±3.40µs +4.52%
reader_multiple_layers_multiple_block_size/Layers(0x0)/16777216 1484.7±44.51µs 1495.3±23.14µs +0.71%
reader_multiple_layers_multiple_block_size/Layers(0x0)/65536 5.8±0.44µs 5.8±0.47µs 0.00%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 2.8±2.71µs 2.6±2.51µs -7.14%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 2.4±0.01ms 2.4±0.01ms 0.00%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 142.4±0.28ms 140.4±0.33ms -1.40%
reader_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 187.0±176.00µs 185.9±174.42µs -0.59%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 22.2±3.09µs 21.8±3.07µs -1.80%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 22.8±0.06ms 23.1±0.05ms +1.32%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 380.5±0.41ms 382.4±0.37ms +0.50%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 1367.1±183.22µs 1346.8±183.27µs -1.48%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 14.6±0.89µs 15.0±0.93µs +2.74%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 15.3±0.01ms 15.8±0.01ms +3.27%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 247.8±0.09ms 255.3±0.08ms +3.03%
reader_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 932.1±54.49µs 960.3±56.34µs +3.03%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1024 580.1±29.96ns 603.6±29.11ns +4.05%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/1048576 82.0±8.71µs 93.3±5.77µs +13.78%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/16777216 1303.5±68.11µs 1391.5±42.18µs +6.75%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(0x0)/65536 5.7±0.61µs 6.2±0.33µs +8.77%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1024 13.6±0.11µs 13.9±0.14µs +2.21%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/1048576 11.6±0.03ms 11.8±0.02ms +1.72%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/16777216 183.7±0.42ms 187.3±0.54ms +1.96%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(COMPRESS)/65536 735.5±11.96µs 755.7±38.83µs +2.75%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1024 26.7±0.25µs 27.0±0.33µs +1.12%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/1048576 23.8±0.03ms 24.4±0.06ms +2.52%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/16777216 380.8±0.49ms 388.4±0.94ms +2.00%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT | COMPRESS)/65536 1475.6±12.92µs 1518.6±17.93µs +2.91%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1024 17.4±0.21µs 17.6±0.20µs +1.15%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/1048576 15.9±0.01ms 15.9±0.05ms 0.00%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/16777216 254.0±0.07ms 254.5±0.10ms +0.20%
reader_multiple_layers_multiple_block_size_multifiles_linear/Layers(ENCRYPT)/65536 987.1±1.53µs 993.2±0.83µs +0.62%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1024 8.4±0.07µs 8.4±0.51µs 0.00%
writer_multiple_layers_multiple_block_size/Layers(0x0)/1048576 8.2±0.23ms 8.2±0.25ms 0.00%
writer_multiple_layers_multiple_block_size/Layers(0x0)/16777216 131.8±0.50ms 130.9±0.49ms -0.68%
writer_multiple_layers_multiple_block_size/Layers(0x0)/65536 513.5±15.06µs 508.9±14.66µs -0.90%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1024 13.6±0.11µs 13.4±0.31µs -1.47%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/1048576 17.7±0.37ms 17.7±0.41ms 0.00%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/16777216 476.1±0.61ms 473.9±2.12ms -0.46%
writer_multiple_layers_multiple_block_size/Layers(COMPRESS)/65536 834.6±10.26µs 829.8±35.40µs -0.58%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1024 13.5±0.13µs 13.9±0.56µs +2.96%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/1048576 20.7±0.68ms 20.8±0.68ms +0.48%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/16777216 670.8±1.27ms 668.5±2.62ms -0.34%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT | COMPRESS)/65536 847.3±11.11µs 827.7±11.07µs -2.31%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1024 25.1±0.06µs 25.3±0.54µs +0.80%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/1048576 24.1±0.11ms 24.2±0.10ms +0.41%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/16777216 385.7±0.63ms 386.9±0.55ms +0.31%
writer_multiple_layers_multiple_block_size/Layers(ENCRYPT)/65536 1505.1±6.31µs 1508.6±4.11µs +0.23%

@commial commial merged commit 8f9f489 into master Aug 14, 2023
@commial commial deleted the remove-forced-config branch August 14, 2023 13:01
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.

Detect cpu features at runtime (AES-NI)
1 participant