Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compiler is now almost fully parallel
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alon Zakai  
View profile  
 More options Nov 6 2012, 9:53 pm
From: Alon Zakai <alonmozi...@gmail.com>
Date: Tue, 6 Nov 2012 18:53:26 -0800
Local: Tues, Nov 6 2012 9:53 pm
Subject: Compiler is now almost fully parallel

On the incoming branch, we now parallelize even the first compilation step
(ll to js). Together with last week's work, we now parallelize practically
all the compiler, except for (1) a few very short stages, and (2) closure
compiler (which is parallel itself in part, but has a very long single-core
phase).

Please test incoming on large codebases, this seems to past our tests, but
is still a big change. In particular let me know if you see issues on
windows (we had some problems with parallelizing the js optimizer last
week, at first).

Aside from bugs, it might be useful to tweak the chunking parameters, see
emscripten.py, and compile with EMCC_DEBUG=1 to see debug output of how
many chunks, cores etc. are being used. Please let me know if you see
anything odd or have suggestions for optimizations based on your project.

- azakai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfviking0  
View profile  
 More options Nov 7 2012, 3:44 am
From: wolfviking0 <anthony.l...@gmail.com>
Date: Wed, 7 Nov 2012 00:44:27 -0800 (PST)
Local: Wed, Nov 7 2012 3:44 am
Subject: Re: Compiler is now almost fully parallel

Hi Alon,

Thanks for your  job, for my engine, the build with -O2 take 20 minutes,
it's better when there was not parallelize (40 minutes) but the parallelize
of first compilation step, doesn't change a lot for me.

Le mercredi 7 novembre 2012 03:53:27 UTC+1, azakai a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alon Zakai  
View profile  
 More options Nov 7 2012, 10:33 am
From: Alon Zakai <alonmozi...@gmail.com>
Date: Wed, 7 Nov 2012 07:33:46 -0800
Local: Wed, Nov 7 2012 10:33 am
Subject: Re: Compiler is now almost fully parallel

Can you run the build with EMCC_DEBUG=1 in the environment and link to a
gist or pastebin of the output (so it prints out how long each step took)?
I want to know which step is the slow one.

-azakai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfviking0  
View profile  
 More options Nov 7 2012, 11:20 am
From: wolfviking0 <anthony.l...@gmail.com>
Date: Wed, 7 Nov 2012 08:20:41 -0800 (PST)
Local: Wed, Nov 7 2012 11:20 am
Subject: Re: Compiler is now almost fully parallel

Alon, i add in attachment the console file, but i don't understand " link
to a gist or pastebin ", but i have the time of each step took

Le mercredi 7 novembre 2012 16:33:47 UTC+1, azakai a écrit :

  consolefile.txt
13K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alon Zakai  
View profile  
 More options Nov 7 2012, 2:07 pm
From: Alon Zakai <alonmozi...@gmail.com>
Date: Wed, 7 Nov 2012 11:07:43 -0800
Local: Wed, Nov 7 2012 2:07 pm
Subject: Re: Compiler is now almost fully parallel

Thanks, yeah, what I meant by gist/pastebin was to link to it or attach it.

Ok, looks like the parallel stuff is working well, should be saving a lot
of time here. The biggest issue left is closure as I suspected. In the
short term, building without closure (--closure 0) is useful for quick
testing builds, in the long term, we will not need closure (the new
eliminator does half of what closure does, a new registerizer will do the
rest, which leaves only minification).

- azakai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wolfviking0  
View profile  
 More options Nov 7 2012, 2:26 pm
From: wolfviking0 <anthony.l...@gmail.com>
Date: Wed, 7 Nov 2012 11:26:29 -0800 (PST)
Local: Wed, Nov 7 2012 2:26 pm
Subject: Re: Compiler is now almost fully parallel

Sound great, do you know when the new eliminator and registerizer will be
ready for do some test ?

Le mercredi 7 novembre 2012 20:07:44 UTC+1, azakai a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alon Zakai  
View profile  
 More options Nov 7 2012, 8:51 pm
From: Alon Zakai <alonmozi...@gmail.com>
Date: Wed, 7 Nov 2012 17:51:48 -0800
Local: Wed, Nov 7 2012 8:51 pm
Subject: Re: Compiler is now almost fully parallel

New eliminator has already landed. New registerizer is a longer-term plan,
it fits in with other optimizations being worked on. I'd say a few months.

- azakai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »