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.2
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.3
Choose a head ref
  • 5 commits
  • 6 files changed
  • 3 contributors

Commits on Nov 10, 2023

  1. fix: use native crypto if available (#385)

    * fix: use native crypto if available
    
    Adds the lodestar [crypto
    implementation](https://github.com/ChainSafe/lodestar/blob/6f27ac6e5f439577906cbfe5f9e01c59586c2af3/packages/beacon-node/src/network/libp2p/noise.ts#L3) to this module
    for use in node.
    
    I'm trying to get js-libp2p back onto the [libp2p performance dashboard](https://observablehq.com/@libp2p-workspace/performance-dashboard) and in testing this change
    increases streaming throughput from around 60 MB/s to almost 300 MB/s.
    
    * chore: fix electron main
    
    * chore: use subarray and also pass array length to buffer.concat
    achingbrain authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    3dee1dc View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. fix: concatenate encrypted data length prefix with data before sending (

    #387)
    
    fix: concatenate data length prefix
    
    Sending lots of tiny buffers kills TCP performance, even with `noDelay` disabled.
    
    Sending the encrypted data length along with the data in one buffer
    increases `@libp2p/perf` throughput with noise+yamux from 300-320 MB/s to 320-340 MB/s
    achingbrain authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    2be73dc View commit details
    Browse the repository at this point in the history
  2. chore: bump @types/sinon from 10.0.20 to 17.0.1 (#384)

    Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.20 to 17.0.1.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/sinon"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0835ea6 View commit details
    Browse the repository at this point in the history
  3. chore: bump sinon from 16.1.3 to 17.0.1 (#379)

    Bumps [sinon](https://github.com/sinonjs/sinon) from 16.1.3 to 17.0.1.
    - [Release notes](https://github.com/sinonjs/sinon/releases)
    - [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
    - [Commits](sinonjs/sinon@v16.1.3...v17.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: sinon
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    279624d View commit details
    Browse the repository at this point in the history
  4. chore(master): release 13.0.3 (#386)

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