Skip to content

Conversation

@Rob-Hague
Copy link
Collaborator

Continuing from previous changes, add a persistent buffer into which the message payload is decrypted, rather than allocating a new array each time.

With this change and #1733, #1738 (plus #1650 in 2025.1.0), allocations for the server-to-client (e.g. download) direction are significantly reduced compared to previous versions.

Download
(SFTP)
VersionAllocated
1MB2025.0.04.92MB
1MB2025.1.03.16MB
1MBPR0.16MB
8MB2025.0.0140.4MB
8MB2025.1.024.8MB
8MBPR0.8MB

Footnotes

  1. Bi-modal between 4x and 5x of file size before Use an array buffer for the sftp packet stream #1649 in 2025.1.0

Continuing from previous changes, add a persistent buffer into which the message payload is decrypted, rather than allocating a new array each time.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Rob-Hague