Skip to content
Permalink

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: v13.0.3
Choose a base ref
...
head repository: ChainSafe/js-libp2p-noise
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.0.4
Choose a head ref
  • 2 commits
  • 11 files changed
  • 2 contributors

Commits on Nov 24, 2023

  1. fix: use node.js crypto for x25519 keys (#389)

    * fix: use node.js crypto for x25519 keys
    
    Using node crypto to do X25519 key operations instead of `@noble/curves`
    yields a nice little performance bump which translates to slightly lower
    latencies when opening connections.
    
    Running the `benchmark.js` file:
    
    Before:
    
    ```console
    % node ./benchmark.js
    Initializing handshake benchmark
    Init complete, running benchmark
    handshake x 124 ops/sec ±0.47% (84 runs sampled)
    ```
    
    After:
    
    ```console
    % node ./benchmark.js
    Initializing handshake benchmark
    Init complete, running benchmark
    handshake x 314 ops/sec ±0.99% (87 runs sampled)
    ```
    
    * chore: prefer Buffer in node
    achingbrain authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    8ba08ea View commit details
    Browse the repository at this point in the history
  2. chore(master): release 13.0.4 (#390)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Nov 24, 2023
    Configuration menu
    Copy the full SHA
    37192da View commit details
    Browse the repository at this point in the history
Loading