-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Degraded performance of ia32 builds on x64 Windows and undocumented build parameter #11500
Comments
|
@seishun 2. I use Visual C++ 2015 Build Tools v14.0.25420.1 |
Profiler log for this test from Node.js 8.0.0-nightly201702211162e284ca (downloaded) (click me):
Profiler log for this test from node master (local build) (click me):
|
I don't know what causes it but that's not good. |
My tool versions: Visual C++ 2015 Build Tools v14.0.25420.1 (currently the same here), Python 2.7.13, Git for Windows 2.11.1. Could anybody build with this configuration on Windows 7 x64 to check if the OS and tools combination is the problem or it is something in my other environment? |
FWIW, here are the ill-starred binaries: https://vsemozhetbyt.github.io/test/node.master.zip |
This is about the size difference between the 32-bit and 64-bit binaries, https://vsemozhetbyt.github.io/test/node.master.zip is 32-bit and is around a similar size to the 32-bit nightly.
If you were expecting to build 64-bit, you'll need to pass FWIW, running the binaries on my Windows 10 system (I renamed the node.exe from the above nightly URLs):
|
Thank you. So it should be Is the According to your first two results, there should not be a big penalty in using 32bit Node on 64bit OS? But it could be a big penalty for building 32bit Node on 64bit OS? |
Yes, that should work. If it isn't already documented then yes, it should.
Your build (from https://vsemozhetbyt.github.io/test/node.master.zip). I didn't build anything, just ran the binaries.
I dunno, those were the numbers I get on my home PC. Maybe you can try the 32-bit nightly and see if it produces similar numbers to your local build on your system? |
cc @nodejs/platform-windows |
Oops. Two downloaded nightly:
Is this expected performance downgrade? |
I've built x64, here are two local build:
So it is not building that affected, it is running. Is x32 Node.js equally slower on the Win 7 x32? |
Slower than what? You can't run x64 on 32-bit Windows, so there wouldn't be a reference point. IMO this is a non-issue. There is no reason why 32-bit builds should run fast on 64-bit Windows. |
Sorry) Slower than x64 Node.js in Win x64 on the same machine.
Thank you. I will keep it open some time in case somebody wants to document the build parameter. |
I don't use Windows often for developments but IMO the default build should be x64. Why is it different than the unix builds? |
|
@seishun I know that the |
This is still an issue and should remain open? |
@Trott I have no strong opinion, but may be these two things would be helpful for beginners:
|
Let us invite doc contributions from interested parties - tagging accordingly, let me know if that is not the case. |
There was no activity for over half a year. Since no one picked this up and it's mainly internal, I am going to close this. If someone disagrees, please just go ahead and reopen. |
I've noticed a substantial difference between downloaded Node.js binaries and binaries built locally by myself.
For example, master and vee-eight-lkgr built today vs node.8.0.0-nightly20170221:
child_process.exec()
andchild_process.execSync()
Test script and data:
The first 4 binaries are downloaded from the site, the last two are built locally from downloaded GitHub source zip according to
BUILDING.md
(withchcp 1252
before building to be on the safe side). All tests are OK.What am I doing possibly wrong?
The text was updated successfully, but these errors were encountered: