GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — buffer: implement `iterable` interface by vkurchatkin · Pull Request #204 · nodejs/node

Conversation

@vkurchatkin

@vkurchatkin vkurchatkin commented Dec 23, 2014

Copy link
Copy Markdown
Contributor

This makes possible to use for..of loop with buffers. Also related keys, values and entries methods are added for feature parity with Uint8Array.

This is basically the code from v8 array iterator implementation minus spec stuff.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Julien Gilli and others added 11 commits December 9, 2014 12:06
Julien Gilli
build: do not generate support for libuv's probes
4dc660e
Dtrace probes were removed from libuv recently, but their usage by node
was not completely removed, causing build breaks on SmartOS.

Even though the build is working on other platforms, these probes are
not fired by libuv anymore, so there's no point in using them on these
platforms too.

Reviewed-by: Trevor Norris <[email protected]>
@saghul @trevnorris
deps: update libuv to 1.0.2
20a7088
PR-URL: nodejs/node-v0.x-archive#8847
Reviewed-by: Trevor Norris <[email protected]>
@orangemocha
test: mark more tests as flaky
8708c7a
Marking these two tests as flaky, since they have been failing
intermittenly in recent builds:
test-debug-signal-cluster
test-cluster-basic
@juamedgod @trevnorris
lib,src: fix spawnSync ignoring its 'env' option
946cec7
PR-URL: nodejs/node-v0.x-archive#8546
Reviewed-By: Colin Ihrig <[email protected]>
@cjihrig @trevnorris
test: add test for spawnSync() env option
4bba870
PR-URL: nodejs/node-v0.x-archive#8845
Reviewed-by: Trevor Norris <[email protected]>
@benjamincburns @chrisdickinson
doc: clarify create{Read,Write}Stream fd option
5b9e5bd
Clarify the fd option: it is preferred to the path parameter, omits
the "open" event if given, and is available on WriteStreams as well.

PR-URL: nodejs/node-v0.x-archive#7707
Fixes: nodejs/node-v0.x-archive#7707
Fixes: nodejs/node-v0.x-archive#7708
Fixes: nodejs/node-v0.x-archive#4367
Reviewed-By: Chris Dickinson <[email protected]>
@luisa-reis @chrisdickinson
zlib: support concatenated gzip files
6f6a979
Reviewed-By: Fedor Indutny <[email protected]>
PR-URL: nodejs/node-v0.x-archive#6442
@bajtos @chrisdickinson
debugger: fix unhandled error in setBreakpoint
e93ff4f
Fix Interface.setBreakpoint() to correctly handle an attempt to set a
breakpoint in the current script when there is no current script.
This usually happens when the debugged process is not paused.

Fixes: nodejs/node-v0.x-archive#6453
PR-URL: nodejs/node-v0.x-archive#6460
Reviewed-By: Chris Dickinson <[email protected]>
@bnoordhuis @chrisdickinson
src: fix windows build error
93533e9
Fix a Windows-only build error that was introduced in
commit 1183ba4 ("zlib: support concatenated gzip files").

Rename the NO_ERROR and FAILED enumerations, they conflict
with macros of the same name in <winerror.h>.

PR-URL: nodejs/node-v0.x-archive#8893
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-by: Timothy J Fontaine <[email protected]>
@chrisdickinson
stream: switch _writableState.buffer to queue
9158666
In cases where many small writes are made to a stream
lacking _writev, the array data structure backing the
WriteReq buffer would greatly increase GC pressure.

Specifically, in the fs.WriteStream case, the
clearBuffer routine would only clear a single WriteReq
from the buffer before exiting, but would cause the
entire backing array to be GC'd. Switching to [].shift
lessened pressure, but still the bulk of the time was
spent in memcpy.

This replaces that structure with a linked list-backed
queue so that adding and removing from the queue is O(1).
In the _writev case, collecting the buffer requires an
O(N) loop over the buffer, but that was already being
performed to collect callbacks, so slowdown should be
neglible.

PR-URL: nodejs/node-v0.x-archive#8826
Reviewed-by: Timothy J Fontaine <[email protected]>
Reviewed-by: Trevor Norris <[email protected]>
@JacksonTian Julien Gilli
doc: add details for http res/req end callback
890baa0
Add documentation for the callback parameter of http.ClientRequest's and
http.ServerResponse's end methods.

Signed-off-by: Julien Gilli <[email protected]>
othiym23
othiym23 reviewed Dec 23, 2014
View reviewed changes
Comment thread doc/api/buffer.markdown Outdated

@othiym23 othiym23 Dec 23, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

s/Additionaly/Additionally/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@vkurchatkin vkurchatkin Dec 23, 2014

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vkurchatkin
vkurchatkin force-pushed the iterable-buffer branch from 43ff8f6 to 685ec25 Compare December 23, 2014 18:30
chrisdickinson
chrisdickinson reviewed Dec 23, 2014
View reviewed changes
Comment thread lib/buffer.js Outdated

@chrisdickinson chrisdickinson Dec 23, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I'm curious -- can iterators reuse results? If so that might be ideal, otherwise for large buffers we might see a huge number of throwaway objects generated when iterated with for... of.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@othiym23 othiym23 Dec 23, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Wouldn't using flyweights here just be reinventing smis, badly? If you really wanted to do that, though, you could probably do it in the BufferIteratorResult constructor by having it return from a cache of previously-seen values. There's only 256 potential values when iterating via for..of, right?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@vkurchatkin vkurchatkin Dec 23, 2014

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I hope this would be somehow optimized eventually. I mean, the whole for..of thing.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@bnoordhuis bnoordhuis Dec 23, 2014

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

In my unscientific benchmarking, using a cache makes it about 15% faster.

Benchmark:

var buf = Buffer(1 << 26), idx = 0;
buf.fill(0);  // Touch memory, force delayed allocation.
for (var b of buf) buf[idx++] = b;

Cache:

diff --git a/lib/buffer.js b/lib/buffer.js
index 9149b65..eb75761 100644
--- a/lib/buffer.js
+++ b/lib/buffer.js
@@ -969,6 +969,11 @@ function BufferIteratorResult(value, done) {
   this.done = done;
 }

+var cache = new Array(256);
+
+for (var i = 0; i < cache.length; i += 1)
+  cache[i] = new BufferIteratorResult(i, false);
+
 BufferIterator.prototype.next = function() {
   var buffer = this._buffer;
   var kind = this._kind;
@@ -980,7 +985,7 @@ BufferIterator.prototype.next = function() {
   this._index++;

   if (kind === ITERATOR_KIND_VALUES)
-    return new BufferIteratorResult(buffer[index], false);
+    return cache[buffer[index]];

   if (kind === ITERATOR_KIND_ENTRIES)
     return new BufferIteratorResult([index, buffer[index]], false);

Peak RSS and the number of page faults with that benchmark are consistently and repeatedly 2-3% lower so it makes sense that it's faster.

On a related topic, it would be good to add one or two benchmarks in benchmark/buffers/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@chrisdickinson chrisdickinson Dec 23, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@othiym23 ah, I was thinking that each iterator could instantiate a single BufferIteratorResult and swap its value on .next() -- to avoid the problem of having to instantiate a whole new object just to add a .done parameter. Could you expand on the "reinventing smis, badly" bit? I'm afraid I don't follow.

@vkurchatkin In that these objects will probably only exist in the new-generation pool and be quickly GC'd, it's optimized, though it would still increase GC pressure (I think.) If we can get away it, I imagine only creating two objects per iteration (vs. N + 1) would be less expensive.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@vkurchatkin vkurchatkin Dec 23, 2014

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@chrisdickinson I was actually thinking that it's possible to avoid object creation at all in for..of. Unfortunately, iterators can be consumed directly and it's possible to mutate result objects:

var b = new Buffer(255);

for (var i = 0; i < 255; i++)
  b[i] = i;

var it = b[Symbol.iterator](), r;

while ((r = it.next()) && !r.done)
  r.value = Math.floor(Math.random() * 255);

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@bnoordhuis bnoordhuis Dec 23, 2014

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Is there anything in the spec that forbids making the the cached objects immutable with Object.freeze()?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@vkurchatkin vkurchatkin Dec 26, 2014

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Well, I think result object are supposed to be simple mutable data objects (https://people.mozilla.org/~jorendorff/es6-draft.html#sec-createiterresultobject). It is not specified anywhere that custom iterators should work the same way (https://people.mozilla.org/~jorendorff/es6-draft.html#sec-iteratorresult-interface), but I think they should.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@domenic domenic Dec 28, 2014

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Object.freeze is definitely allowed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vkurchatkin
vkurchatkin force-pushed the iterable-buffer branch from 685ec25 to 299bf12 Compare December 23, 2014 22:03
@domenic

domenic commented Dec 28, 2014

Copy link
Copy Markdown
Contributor

I think a simpler version of this patch (untested) would be

Buffer.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
Buffer.prototype.values = Array.prototype.values;
Buffer.prototype.keys = Array.prototype.keys;
Buffer.prototype.entries = Array.prototype.entries;
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented Dec 28, 2014

Copy link
Copy Markdown
Member

@domenic That makes the array methods polymorphic and probably slows them down.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vkurchatkin

vkurchatkin commented Dec 29, 2014

Copy link
Copy Markdown
Contributor Author

@domenic thought that too, typed arrays do that, but we obviously want some optimizations.

@bnoordhuis added a benchmark and result caching. Results on my machine:

Before:

buffers/buffer-iterate.js size=16 type=fast itertation=for: 8632
buffers/buffer-iterate.js size=16 type=fast itertation=forOf: 3806
buffers/buffer-iterate.js size=16 type=slow itertation=for: 9686
buffers/buffer-iterate.js size=16 type=slow itertation=forOf: 3690
buffers/buffer-iterate.js size=512 type=fast itertation=for: 4619
buffers/buffer-iterate.js size=512 type=fast itertation=forOf: 1558
buffers/buffer-iterate.js size=512 type=slow itertation=for: 4232
buffers/buffer-iterate.js size=512 type=slow itertation=forOf: 1646
buffers/buffer-iterate.js size=1024 type=fast itertation=for: 4059
buffers/buffer-iterate.js size=1024 type=fast itertation=forOf: 1414
buffers/buffer-iterate.js size=1024 type=slow itertation=for: 4585
buffers/buffer-iterate.js size=1024 type=slow itertation=forOf: 1575
buffers/buffer-iterate.js size=4096 type=fast itertation=for: 2727
buffers/buffer-iterate.js size=4096 type=fast itertation=forOf: 1015
buffers/buffer-iterate.js size=4096 type=slow itertation=for: 2973
buffers/buffer-iterate.js size=4096 type=slow itertation=forOf: 878
buffers/buffer-iterate.js size=16386 type=fast itertation=for: 1263
buffers/buffer-iterate.js size=16386 type=fast itertation=forOf: 527
buffers/buffer-iterate.js size=16386 type=slow itertation=for: 1205
buffers/buffer-iterate.js size=16386 type=slow itertation=forOf: 590

After:

buffers/buffer-iterate.js size=16 type=fast itertation=for: 9810
buffers/buffer-iterate.js size=16 type=fast itertation=forOf: 4436
buffers/buffer-iterate.js size=16 type=slow itertation=for: 10319
buffers/buffer-iterate.js size=16 type=slow itertation=forOf: 4712
buffers/buffer-iterate.js size=512 type=fast itertation=for: 4615
buffers/buffer-iterate.js size=512 type=fast itertation=forOf: 1776
buffers/buffer-iterate.js size=512 type=slow itertation=for: 4816
buffers/buffer-iterate.js size=512 type=slow itertation=forOf: 2355
buffers/buffer-iterate.js size=1024 type=fast itertation=for: 4570
buffers/buffer-iterate.js size=1024 type=fast itertation=forOf: 2068
buffers/buffer-iterate.js size=1024 type=slow itertation=for: 4474
buffers/buffer-iterate.js size=1024 type=slow itertation=forOf: 1885
buffers/buffer-iterate.js size=4096 type=fast itertation=for: 2810
buffers/buffer-iterate.js size=4096 type=fast itertation=forOf: 1491
buffers/buffer-iterate.js size=4096 type=slow itertation=for: 2388
buffers/buffer-iterate.js size=4096 type=slow itertation=forOf: 1634
buffers/buffer-iterate.js size=16386 type=fast itertation=for: 1301
buffers/buffer-iterate.js size=16386 type=fast itertation=forOf: 952
buffers/buffer-iterate.js size=16386 type=slow itertation=for: 1082
buffers/buffer-iterate.js size=16386 type=slow itertation=forOf: 983
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timoxley

timoxley commented Dec 29, 2014

Copy link
Copy Markdown
Contributor

@bnoordhuis none of keys/values or entries methods take any arguments. Is it still polymorphic if only the type of the this value is changing?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vkurchatkin

vkurchatkin commented Dec 29, 2014

Copy link
Copy Markdown
Contributor Author

@timoxley I think thisArg also counts

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis reviewed Dec 29, 2014
View reviewed changes
Comment thread benchmark/buffers/buffer-iterate.js Outdated

@bnoordhuis bnoordhuis Dec 29, 2014

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Typo: s/itertation/iteration/ (or maybe just 'method')

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@timoxley

timoxley commented Dec 29, 2014

Copy link
Copy Markdown
Contributor

@vkurchatkin "buffer: iteratior optimization" might want to amend that commit message before the typo is made permanent.

Also running your tests I get:

for (b of buffer[Symbol.iterator]())
                                 ^
TypeError: undefined is not a function
    at Object.<anonymous> (/Users/timoxley/Projects/libs/io.js/test/parallel/test-buffer-iterator.js:43:34)
    at Module._compile (module.js:467:26)
    at Object.Module._extensions..js (module.js:485:10)
    at Module.load (module.js:362:32)
    at Function.Module._load (module.js:317:12)
    at Function.Module.runMain (module.js:508:10)
    at startup (node.js:132:16)
    at node.js:830:3

Have I forgotten to do something?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bnoordhuis
bnoordhuis reviewed Dec 29, 2014
View reviewed changes
Comment thread benchmark/buffers/buffer-iterate.js Outdated

@bnoordhuis bnoordhuis Dec 29, 2014

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Style: indent error.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vkurchatkin
vkurchatkin force-pushed the iterable-buffer branch 2 times, most recently from 7ef9fe7 to 60cdc32 Compare December 29, 2014 14:06
bnoordhuis
bnoordhuis reviewed Dec 29, 2014
View reviewed changes
Comment thread test/parallel/test-buffer-iterator.js Outdated

@bnoordhuis bnoordhuis Dec 29, 2014

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Style: wrong indentation.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vkurchatkin
vkurchatkin force-pushed the iterable-buffer branch from 60cdc32 to 00a04e3 Compare December 29, 2014 14:14
@vkurchatkin

vkurchatkin commented Dec 29, 2014

Copy link
Copy Markdown
Contributor Author

@timoxley my bad! too many fuck ups for a simple commit

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@GregorFendt GregorFendt mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities GregorFendt/node#29
Open
@timzwit timzwit mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities timzwit/node#34
Open
@aliceUnhinged613 aliceUnhinged613 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities aliceUnhinged613/node#102
Open
@KamilPolivka KamilPolivka mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities KamilPolivka/node#31
Open
@137717unity 137717unity mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities 137717unity/node#110
Open
@bumplzz69 bumplzz69 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities bumplzz69/node#57
Open
@molllyn1 molllyn1 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities molllyn1/node#91
Open
@awaisab172 awaisab172 mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities awaisab172/node#50
Open
@saurabharch saurabharch mentioned this pull request Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities saurabharch/node#35
Open
@sirinartk sirinartk mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities sirinartk/node#49
Open
@Verdinjoshua26 Verdinjoshua26 mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Verdinjoshua26/node#54
Open
@Bhanditz Bhanditz mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Bhanditz/node#36
Open
@adamlaska adamlaska mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities adamlaska/node#129
Open
@Redwoodtj Redwoodtj mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities Redwoodtj/node#11
Open
@wedataintelligence wedataintelligence mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities wedataintelligence/node#93
Open
@adamlaska adamlaska mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities adamlaska/node#131
Open
@ajesse11x ajesse11x mentioned this pull request Dec 1, 2023
[Snyk] Fix for 1 vulnerabilities ajesse11x/node#46
Open
@aravindb26 aravindb26 mentioned this pull request Jan 4, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 aravindb26/node#1
Open
@CxsLucyfer CxsLucyfer mentioned this pull request Jan 29, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 CxsLucyfer/node#1
Open
@ahamedislam ahamedislam mentioned this pull request Feb 22, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 ahamedislam/node#1
Open
@DanyRay420 DanyRay420 mentioned this pull request Feb 24, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 DanyRay420/node#2
Open
@matrix-compute matrix-compute mentioned this pull request Mar 28, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 matrix-compute/node.js#2
Open
@ashly1111111 ashly1111111 mentioned this pull request Mar 29, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 ashly1111111/node#94
Open
@lairortega lairortega mentioned this pull request Apr 14, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 lairortega/node#1
Open
@yaseenaljamal yaseenaljamal mentioned this pull request Apr 25, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 yaseenaljamal/node#5
Open
@dannybrown13 dannybrown13 mentioned this pull request May 7, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 dannybrown13/node#93
Open
@CharliesAngel1 CharliesAngel1 mentioned this pull request May 7, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 CharliesAngel1/node#14
Open
@snyk-io snyk-io Bot mentioned this pull request May 21, 2024
[Snyk] Upgrade rollup-plugin-node-resolve from 4.0.0 to 4.2.4 Hawthorne001/node2#2
Open
syg pushed a commit to syg/node that referenced this pull request May 5, 2025
@isheludko pthier
Temporarily skip tests that expect Function.blah entries in stack tra…
1857177
…ces. (nodejs#204)

These tests will be re-enabled once a V8 CL https://crrev.com/c/5907815 lands. The CL changes the way such entries are displayed in stack traces to Constructor.blah.
bakkot pushed a commit to bakkot/node that referenced this pull request May 11, 2026
@isheludko pthier
Temporarily skip tests that expect Function.blah entries in stack tra…
4f137fa
…ces. (nodejs#204)

These tests will be re-enabled once a V8 CL https://crrev.com/c/5907815 lands. The CL changes the way such entries are displayed in stack traces to Constructor.blah.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

buffer Issues and PRs related to the buffer subsystem.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

18 participants

@vkurchatkin @domenic @bnoordhuis @timoxley @springmeyer @chrisdickinson @mscdex @LinusU @piscisaureus @indutny @ralphtheninja @othiym23 @rvagg @Fishrock123 @capaj @orangemocha @kant2002 @wilhelmberg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.