FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

buffer: initialize TextDecoder once for performance by anonrig · Pull Request #44787 · nodejs/node · GitHub

/ node Public

buffer: initialize TextDecoder once for performance - #44787

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
anonrig:perf/blob
Oct 10, 2022
Merged

buffer: initialize TextDecoder once for performance#44787
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
anonrig:perf/blob

Conversation

anonrig commented Sep 25, 2022

Copy link
Copy Markdown
Member

Instead of creating TextDecoder everytime blob.text() is called, we are now using a previously created decoder.

nodejs-github-bot added the needs-ci PRs that need a full CI run. label Sep 25, 2022
anonrig changed the title blob: initialize TextDecoder once for performance buffer: initialize TextDecoder once for performance Sep 25, 2022
anonrig force-pushed the perf/blob branch 2 times, most recently from b37eaa1 to f31f223 Compare September 25, 2022 17:03
Comment thread lib/internal/blob.js Outdated
targos added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no outstanding review comments, and a CI started. labels Sep 26, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 26, 2022

This comment was marked as outdated.

Copy link
Copy Markdown
Collaborator

Comment thread lib/internal/blob.js

Copy link
Copy Markdown
Collaborator

aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 10, 2022
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 10, 2022
nodejs-github-bot merged commit 76229fc into nodejs:main Oct 10, 2022

Copy link
Copy Markdown
Collaborator

Landed in 76229fc

danielleadams pushed a commit that referenced this pull request Oct 11, 2022
PR-URL: #44787
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL