Last active
December 20, 2015 18:59
-
-
Save MarcoPolo/6180338 to your computer and use it in GitHub Desktop.
benchmark of some encryption algorithms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmarking CCM, with 1MB file (patched with arraybuffer) | |
Total Bytes 1048576 Chunk.js:156 | |
Benchmark took: 48028 ms Chunk.js:157 | |
Total Iterations: 100 iterations Chunk.js:158 | |
Average of : 480.28 ms per 1MB | |
Benchmarking CCM, with 1MB file (no patch) | |
Total Bytes 1048576 | |
Benchmark took: 7357 ms | |
Total Iterations: 10 iterations | |
Average of : 735.7 ms per 1MB | |
Benchmarking GCM, with 1MB file (patched with arraybuffer) Chunk.js:107 | |
Total Bytes 1048576 Chunk.js:108 | |
Benchmark took: 4551 ms Chunk.js:109 | |
Total Iterations: 10 iterations Chunk.js:110 | |
Average of : 455.1 ms per 1MB | |
Benchmarking usual CBC, with 1MB file Chunk.js:86 | |
Total Bytes 1048576 Chunk.js:87 | |
Benchmark took: 12195 ms Chunk.js:88 | |
Total Iterations: 100 iterations Chunk.js:89 | |
Average of : 121.95 ms per 1MB Chunk.js:90 | |
Benchmarking Mega's encryption, with 1MB file Chunk.js:111 | |
Total Bytes 1048576 Chunk.js:112 | |
Benchmark took: 15128 ms Chunk.js:113 | |
Total Iterations: 100 iterations Chunk.js:114 | |
Average of : 151.28 ms per 1MB | |
Benchmarking custom CCM, with 1MB file benchmarks.js:90 | |
Total Bytes 1048576 benchmarks.js:91 | |
Benchmark took: 1377 ms benchmarks.js:92 | |
Total Iterations: 10 iterations benchmarks.js:93 | |
Average of : 137.7 ms per 1MB benchmarks.js:94 | |
Benchmarking CCM, with 1MB file (no patch) benchmarks.js:232 | |
Total Bytes 1048576 benchmarks.js:233 | |
Benchmark took: 7630 ms benchmarks.js:234 | |
Total Iterations: 10 iterations benchmarks.js:235 | |
Average of : 763 ms per 1MB benchmarks.js:236 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment