Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "mediaplex", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "index.js", | ||
@@ -23,5 +23,6 @@ "types": "index.d.ts", | ||
"@discordjs/opus": "^0.9.0", | ||
"@napi-rs/cli": "^2.16.1", | ||
"@types/node": "^20.4.8", | ||
"ava": "^5.1.1", | ||
"@evan/opus": "^1.0.2", | ||
"@napi-rs/cli": "^2.16.3", | ||
"@types/node": "^20.6.0", | ||
"ava": "5.3.1", | ||
"benny": "^3.7.1", | ||
@@ -66,13 +67,13 @@ "opusscript": "^0.1.0" | ||
"optionalDependencies": { | ||
"mediaplex-win32-x64-msvc": "0.0.6", | ||
"mediaplex-darwin-x64": "0.0.6", | ||
"mediaplex-linux-x64-gnu": "0.0.6", | ||
"mediaplex-darwin-arm64": "0.0.6", | ||
"mediaplex-android-arm64": "0.0.6", | ||
"mediaplex-win32-arm64-msvc": "0.0.6", | ||
"mediaplex-linux-arm-gnueabihf": "0.0.6", | ||
"mediaplex-freebsd-x64": "0.0.6", | ||
"mediaplex-win32-ia32-msvc": "0.0.6", | ||
"mediaplex-darwin-universal": "0.0.6" | ||
"mediaplex-win32-x64-msvc": "0.0.7", | ||
"mediaplex-darwin-x64": "0.0.7", | ||
"mediaplex-linux-x64-gnu": "0.0.7", | ||
"mediaplex-darwin-arm64": "0.0.7", | ||
"mediaplex-android-arm64": "0.0.7", | ||
"mediaplex-win32-arm64-msvc": "0.0.7", | ||
"mediaplex-linux-arm-gnueabihf": "0.0.7", | ||
"mediaplex-freebsd-x64": "0.0.7", | ||
"mediaplex-win32-ia32-msvc": "0.0.7", | ||
"mediaplex-darwin-universal": "0.0.7" | ||
} | ||
} |
@@ -95,3 +95,3 @@ # Mediaplex | ||
Mediaplex includes benchmarks for the Opus encoder/decoder. Here are the results of the benchmarks on a Windows 11 machine with an i7-8700 3.2GHz processor: | ||
Mediaplex includes benchmarks for the opus encoder/decoder. Here are the results of the benchmarks on a Windows 11 machine with an i7-8700 3.2GHz processor: | ||
@@ -102,17 +102,22 @@ ```js | ||
Running "OpusEncoder Benchmark" suite... | ||
Progress: 100% | ||
mediaplex: | ||
3 502 ops/s, ±0.84% | 16.04% slower | ||
3 538 ops/s, ±0.63% | 15.96% slower | ||
@discordjs/opus: | ||
3 185 ops/s, ±0.17% | 23.64% slower | ||
3 168 ops/s, ±0.53% | 24.75% slower | ||
@evan/opus: | ||
3 283 ops/s, ±0.25% | 22.02% slower | ||
@evan/opus (wasm): | ||
2 242 ops/s, ±0.39% | 46.75% slower | ||
opusscript: | ||
4 171 ops/s, ±0.34% | fastest | ||
4 210 ops/s, ±0.20% | fastest | ||
opusscript (no wasm): | ||
261 ops/s, ±0.85% | slowest, 93.74% slower | ||
245 ops/s, ±3.69% | slowest, 94.18% slower | ||
Finished 4 cases! | ||
Finished 6 cases! | ||
Fastest: opusscript | ||
@@ -122,17 +127,22 @@ Slowest: opusscript (no wasm) | ||
Running "OpusDecoder Benchmark" suite... | ||
Progress: 100% | ||
mediaplex: | ||
9 838 ops/s, ±0.38% | 16.96% slower | ||
10 726 ops/s, ±0.50% | 9.42% slower | ||
@discordjs/opus: | ||
11 848 ops/s, ±0.40% | fastest | ||
11 841 ops/s, ±0.55% | fastest | ||
@evan/opus: | ||
11 382 ops/s, ±0.46% | 3.88% slower | ||
@evan/opus (wasm): | ||
7 461 ops/s, ±0.32% | 36.99% slower | ||
opusscript: | ||
6 100 ops/s, ±0.23% | 48.51% slower | ||
6 138 ops/s, ±0.38% | 48.16% slower | ||
opusscript (no wasm): | ||
2 589 ops/s, ±0.20% | slowest, 78.15% slower | ||
2 252 ops/s, ±0.73% | slowest, 80.98% slower | ||
Finished 4 cases! | ||
Finished 6 cases! | ||
Fastest: @discordjs/opus | ||
@@ -139,0 +149,0 @@ Slowest: opusscript (no wasm) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4320809
1549
150
7