nodejs / CTC

Node.js Core Technical Committee & Collaborators
80 stars 27 forks source link

Turbofan + Ignition release plan && comms plan #155

Closed MylesBorins closed 7 years ago

MylesBorins commented 7 years ago

Hey All,

So now that 5.9 is stabilized and 6.0 is soon to be released we need to make a decision about which we would like to release. The options include:

1) Releasing with 5.9 in a semver-minor ASAP 🎉 2) Holding off until 6.0 ❤️

Once we decide which we are going to move forward with we will also need to co-ordinate with @zibbykeaton and the rest of the foundation comms team to make sure that we are properly getting the word out to our community.

This could include:

We should make sure that which ever path we choose above we leave enough time for the comms team to plan a release.

If people from @nodejs/ctc could chime in on preference for the version with the emoji above that would be greatly appreciated. If you have a potential path forward that was not mentioned please add it to the comments and we can adjust above.

If you think we have missed anything regarding the outbound communication related to the release please chime in

/cc @hackygolucky

mcollina commented 7 years ago

Both approaches are good for me, as long as we ship one before mid-august. The plan should be to ship 6.0 asap, or 5.9 if that is not possible.

ZibbyKeaton commented 7 years ago

@MylesBorins I think similar to last time, it would be nice to write a detailed blog on the subject and we can post it on our Medium blog and share on social. I can also share with a few media folks that are generally interested in this. Happy to review the blog and write an outline too, if that would be helpful to you. In terms of timing, do you happen to know when this will be?

MylesBorins commented 7 years ago

We are still trying to work out the timing. How much lead time do you need for a media push?

ZibbyKeaton commented 7 years ago

@MylesBorins I will likely push this out to the media day of. I wanted to get a sense of timing, so I can put it into our editorial calendar and if it's around NodeSummit, I would reach out to the media attending the conference to give them a heads up.

MylesBorins commented 7 years ago

@nodejs/ctc based around the above. How do people feel about doing a push to land V8 5.9 next week so we can do it around Node Summit and get a media push? I've tagged this for ctc-agenda so we can discuss tomorrow.

addaleax commented 7 years ago

Sounds good to me – I’ll update the 8.2.0 proposal in a bit and remove V8 5.9 from it, the plan here sounds good and I can see that having better communications around the introduction of TF+I will be a good idea.

mhdawson commented 7 years ago

I agree using the release where TF+I is enabled to generate awareness and to re-enforce the calls @addaleax has already been making asking for people to performance test and give us feedback is a good idea.

winksaville commented 7 years ago

I was asked by @vsemozhetbyt to provide a link to a performance issue I found between V8 5.8 and V8 6.1. Basically Typescript code targeting ES6 is 6x slower in my test than when targeting ES5. See my comment to nodejs issue 14220.

mcollina commented 7 years ago

@winksaville from how I read that conversation, it seems the problem is resolved in V8 6.1. Can you please check if the same problem exists in 6.0 and 5.9?

winksaville commented 7 years ago

Yes all is well with V8 6.1. Can you provide links to Node prebuilts with V8 5.9 and 6.0?

On Wed, Jul 19, 2017, 1:54 AM Matteo Collina notifications@github.com wrote:

@winksaville https://github.com/winksaville from how I read that conversation, it seems the problem is resolved in V8 6.1. Can you please check if the same problem exists in 6.0 and 5.9?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/nodejs/CTC/issues/155#issuecomment-316318399, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-hHMM42TmGXQIe0FMf80uYyd2McPv5ks5sPcQrgaJpZM4OaZ8b .

vsemozhetbyt commented 7 years ago

@winksaville V8 5.9: last nightly

Unfortunately, our first distributed V8-canary build already has V8 6.1. I hope somebody can link you to V8 6.0 Node.js build (I have an old canary one for Windows x64, let me know if it can be of any help).

winksaville commented 7 years ago

I'll try the 5.9 build tomorrow but don't use Node on Windows. Anyone can fork my code if desired.

Actually, if 6.1 is what's going to ship why worry about 5.9 or 6.0?

On Wed, Jul 19, 2017, 10:25 AM Vse Mozhet Byt notifications@github.com wrote:

@winksaville https://github.com/winksaville V8 5.9: last nightly https://nodejs.org/download/nightly/v9.0.0-nightly20170718f406a7ebae/

Unfortunately, our first distributed V8-canary https://nodejs.org/download/v8-canary/ build already has V8 6.1. I hope somebody can link you to V8 6.0 Node.js build (I have an old canary one for Windows x64, let me know if it can be of any help).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nodejs/CTC/issues/155#issuecomment-316458476, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-hHJi1Cy8O3DmUz7uTe6BaEJwz7fwfks5sPjwagaJpZM4OaZ8b .

vsemozhetbyt commented 7 years ago

Actually, this is still uncertain what V8 version will be shipped with Node.js 8 LTS (see, for example, https://github.com/nodejs/node/issues/14384#issuecomment-316620942).

jasnell commented 7 years ago

If we're only a week out from having a stable 6.0, let's go with 6.0 but let's definitely work on getting it out by mid august. I'm cutting the 9.x working branch in early september and would like to get things resolved before then.

winksaville commented 7 years ago

Here are the performance numbers of test-nn-ts nodev9 branch running on my laptop using the various versions of Node. The takeaway is V8 6.1 is fastest followed by V8 5.9 and V8 5.8 is slowest:

**** Summary ES5 code: nodev8-V8-5.8 20.07s nodev9-V8-5.9 12.30s nodev9-V8-6.1 12.13s

**** Summary ES6 code: nodev8-V8-5.8 131.06s nodev9-V8-5.9 19.36s nodev9-V8-6.1 12.30s

**** Here are the node versions $ node --version v8.1.3 $ ./nodev9-V8-5.9/bin/node --version v9.0.0-nightly20170718f406a7ebae $ ./nodev9-V8-6.1.0/bin/node --version v9.0.0-v8-canary201706199cf43ea3fd

**** Here are the V8 versions: $ node -e "console.log(process.versions.v8)" 5.8.283.41 $ nodev9-V8-5.9/bin/node -e "console.log(process.versions.v8)" 5.9.211.38 $ ./nodev9-V8-6.1.0/bin/node -e "console.log(process.versions.v8)" 6.1.0 (candidate)

**** Details ES5 code: $ node build-es5/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=20.07s eps=498,206

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

$ ./nodev9-V8-5.9/bin/node build-es5/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=12.30s eps=813,074

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

$ ./nodev9-V8-6.1.0/bin/node build-es5/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=12.13s eps=824,402

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

**** Details ES6 code: $ node build-es6/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=131.06s eps=76,300

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

$ ./nodev9-V8-5.9/bin/node build-es6/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=19.36s eps=516,476

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

$ ./nodev9-V8-6.1.0/bin/node build-es6/test-nn.js 10000000 Epoch=10,000,000 Error=4.58e-8 time=12.30s eps=812,744

Pat Input0 Input1 Target0 Output0 0 0 0 0 0.00014153806736740904 1 1 0 1 0.9998568235021613 2 0 1 1 0.9998568475569924 3 1 1 0 0.0001748320545000856

Trott commented 7 years ago

@MylesBorins Do we have a more-or-less decided path forward on this at this point? Is the plan to do a release with V5.9 this week to coincide with NodeSummit?

rvagg commented 7 years ago

thanks for contributing the numbers @winksaville, they're actually really interesting!

winksaville commented 7 years ago

You're welcome, glad it's helpful, it seems to indicate Node should upgrade V8 to 6.1 sooner rather than later, in my opinion.

On Sun, Jul 23, 2017, 10:20 PM Rod Vagg notifications@github.com wrote:

thanks for contributing the numbers @winksaville https://github.com/winksaville, they're actually really interesting!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nodejs/CTC/issues/155#issuecomment-317322040, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-hHD6t4J8h17AnaABB5FS54m_gWnCaks5sRCmvgaJpZM4OaZ8b .

mcollina commented 7 years ago

Here is our writeup on Turbofan: https://www.nearform.com/blog/node-js-is-getting-a-new-v8-with-turbofan/

ZibbyKeaton commented 7 years ago

@MylesBorins @mcollina is this what we were originally planning to announce?

mcollina commented 7 years ago

@ZibbyKeaton no, I don't think so. But we can lift as much we want from there, or even republish as-is on the Foundation blog.

ZibbyKeaton commented 7 years ago

@mcollina sorry for original comment. Didn't read everything. Yes, I would like to republish this on Node.js Collection. Do you have a Medium page or do you want me to post on the Node.js Foundation Medium page and then add it to Node.js Collection that way?

mcollina commented 7 years ago

You can post it to the Foundation medium page, just add a link to the original piece at the beginning.

TimothyGu commented 7 years ago

We should probably fix the errata (by @jkummerow and @hashseed) before republishing though.

ZibbyKeaton commented 7 years ago

We already published, but I can easily go in and make the edits, please just let me know what they are asap.

vsemozhetbyt commented 7 years ago

Refs: https://github.com/nodejs/node/issues/14528

TimothyGu commented 7 years ago

@ZibbyKeaton

/cc @davidmarkclements @mcollina Would it be possible for you to re-run the updated benchmarks (https://github.com/davidmarkclements/v8-perf/pull/6)?

vsemozhetbyt commented 7 years ago

Re https://www.nearform.com/blog/node-js-is-getting-a-new-v8-with-turbofan/: Besides the notes in the comments, there are some draft fragments in the text:

(Maybe a sentence about the BigInt proposal should be included here?)

Grabbing all of an objects values (properties?)

vsemozhetbyt commented 7 years ago

Re "ITERATING OVER OBJECTS" plot: the orange line and the red line are blended so it seems the red line is missed. Maybe it is worth to be mentioned explicitly.

vsemozhetbyt commented 7 years ago

Re "CREATING OBJECTS": posible typo (of -> or):

less than half the speed of using an object literal of a constructor

mcollina commented 7 years ago

Thanks everyone for reviewing! I don't think this issue is the right place for discussing those changes. Can you please open issues to the repo, so that we can easily reply and discuss each one individually?

We will address them asap.

Fishrock123 commented 7 years ago

So the plan for this is with 6.0 next week or the week after? Is that correct?

Trott commented 7 years ago

So the plan for this is with 6.0 next week or the week after? Is that correct?

@Fishrock123 My understanding is that we intend to release Node.js 8.3.0 this upcoming week with V8 6.0. @nodejs/release

I'm going to remove the ctc-agenda label from this since, as far as I know, no one is opposed to that plan. Feel free to re-add it if I'm wrong or if there is some other aspect that needs to be addressed at the meeting. @MylesBorins

ZibbyKeaton commented 7 years ago

@MylesBorins are you still planning to write a blog around this for Node.js Collection?

Trott commented 7 years ago

Since 8.3.0 landed with TF/I, I think this can be closed. Comment or re-open if I'm wrong. Thanks.