Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: improve response buffer handling #20

Merged
merged 3 commits into from
Apr 12, 2021

Conversation

tbnritzdoge
Copy link
Member

@tbnritzdoge tbnritzdoge commented Apr 9, 2021

2mb of text
petitio x 96.16 ops/sec ±7.49% (67 runs sampled)
this branch x 268 ops/sec ±1.90% (83 runs sampled)

@coveralls
Copy link

coveralls commented Apr 9, 2021

Coverage Status

coverage: 98.633% (+0.006%) from 98.627%
when pulling 99e0d8d on tbnritzdoge:feat/faster-body
into f869666 on helperdiscord:master.

@Nytelife26 Nytelife26 changed the title feat: faster buff. handling perf: improve response buffer handling Apr 9, 2021
@Nytelife26 Nytelife26 self-requested a review April 9, 2021 20:44
@Nytelife26 Nytelife26 marked this pull request as draft April 9, 2021 20:44
@tbnritzdoge tbnritzdoge marked this pull request as ready for review April 9, 2021 23:20
2mb of text
petitio  x 96.16 ops/sec ±7.49% (67 runs sampled)
petitiox x 268 ops/sec ±1.90% (83 runs sampled)
Copy link
Collaborator

@Nytelife26 Nytelife26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, ready for merge.

@Nytelife26 Nytelife26 merged commit 26d84e2 into helperdiscord:master Apr 12, 2021
github-actions bot pushed a commit that referenced this pull request Apr 13, 2021
# [1.2.0](v1.1.0...v1.2.0) (2021-04-13)

### Bug Fixes

* change build target for backwards compat ([#25](#25)) ([87cbbd3](87cbbd3))
* **ci:** make filepaths correct ([9299fc0](9299fc0))
* **PetitioResponse:** support non-ascii json responses ([#11](#11)) ([d8344e4](d8344e4))

### Features

* abort-controllers ([#23](#23)) ([1ad4a5d](1ad4a5d))
* add all http methods ([#17](#17)) ([f869666](f869666))
* **ci:** build on every commit ([443070b](443070b))
* add support for stream ([c706801](c706801))
* add text encoding option & tests ([7f6f5c6](7f6f5c6))

### Performance Improvements

* improve response buffer handling ([#20](#20)) ([26d84e2](26d84e2))
* optimize loops ([#24](#24)) ([01b8012](01b8012))
* remove spread operators and callback loops ([#12](#12)) ([3bf48cc](3bf48cc))
github-actions bot pushed a commit that referenced this pull request Apr 13, 2021
# [1.3.0](v1.2.1...v1.3.0) (2021-04-13)

### Bug Fixes

* change build target for backwards compat ([#25](#25)) ([87cbbd3](87cbbd3))
* **ci:** make filepaths correct ([9299fc0](9299fc0))

### Features

* abort-controllers ([#23](#23)) ([1ad4a5d](1ad4a5d))
* add all http methods ([#17](#17)) ([f869666](f869666))
* **ci:** build on every commit ([443070b](443070b))

### Performance Improvements

* improve response buffer handling ([#20](#20)) ([26d84e2](26d84e2))
* optimize loops ([#24](#24)) ([01b8012](01b8012))
@github-actions
Copy link

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants