-
Notifications
You must be signed in to change notification settings - Fork 33
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ChainSafe/js-libp2p-noise
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ChainSafe/js-libp2p-noise
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.0.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 12 commits
- 33 files changed
- 4 contributors
Commits on Dec 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 88c43d7 - Browse repository at this point
Copy the full SHA 88c43d7View commit details
Commits on Jan 3, 2022
-
Replaces node buffers with browser-friendly `Uint8Array`s. Previously we didn't want to do this because there's no equivalent to node's `Buffer.allocUnsafe` which doesn't set all entries of allocated buffers to 0. The thing is we only actually use that in one place so to address this I've isolated the use of `Buffer.allocUnsafe` to the `alloc-unsafe.ts` file and used the `browser` field in package.json to override it for browser use. Running the benchmark suite in this module shows the performance is comparable to or even slightly better than master (I think due to not having to convert `Uint8Array`s to `Buffer`s any more): Before: ```console $ node benchmark.js handshake x 59.95 ops/sec ±11.20% (75 runs sampled) handshake x 54.68 ops/sec ±10.81% (68 runs sampled) handshake x 50.42 ops/sec ±11.55% (65 runs sampled) handshake x 53.41 ops/sec ±11.84% (68 runs sampled) handshake x 50.25 ops/sec ±11.80% (66 runs sampled) ``` After: ```console $ node ./benchmark.js Initializing handshake benchmark Init complete, running benchmark handshake x 61.48 ops/sec ±11.71% (76 runs sampled) handshake x 59.43 ops/sec ±11.13% (73 runs sampled) handshake x 56.09 ops/sec ±12.02% (71 runs sampled) handshake x 60.05 ops/sec ±11.69% (74 runs sampled) handshake x 59.66 ops/sec ±10.59% (74 runs sampled) ```
Configuration menu - View commit details
-
Copy full SHA for 59b27ab - Browse repository at this point
Copy the full SHA 59b27abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53ed91e - Browse repository at this point
Copy the full SHA 53ed91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b397065 - Browse repository at this point
Copy the full SHA b397065View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee01e42 - Browse repository at this point
Copy the full SHA ee01e42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c9009 - Browse repository at this point
Copy the full SHA 04c9009View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7c517b - Browse repository at this point
Copy the full SHA d7c517bView commit details
Commits on Jan 6, 2022
-
Merge pull request #125 from achingbrain/fix/remove-node-buffers
fix: remove node buffers
Configuration menu - View commit details
-
Copy full SHA for 01c490e - Browse repository at this point
Copy the full SHA 01c490eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc1bd68 - Browse repository at this point
Copy the full SHA cc1bd68View commit details -
Merge pull request #118 from ChainSafe/fix/improper-nonce-handling
fix: safely handle nonces as 64 bit uints
Configuration menu - View commit details
-
Copy full SHA for a462844 - Browse repository at this point
Copy the full SHA a462844View commit details -
Configuration menu - View commit details
-
Copy full SHA for df80852 - Browse repository at this point
Copy the full SHA df80852View commit details -
Merge pull request #126 from ChainSafe/chore/bump-version
chore: bump version
Configuration menu - View commit details
-
Copy full SHA for 112e247 - Browse repository at this point
Copy the full SHA 112e247View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.0.0...v5.0.1