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
Slow context bridge on osx
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
  8 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
 
Tim Caswell  
View profile  
 More options Nov 6 2012, 5:29 pm
From: Tim Caswell <t...@creationix.com>
Date: Tue, 6 Nov 2012 16:29:16 -0600
Local: Tues, Nov 6 2012 5:29 pm
Subject: Slow context bridge on osx

While porting my app to use node-webkit, I've noticed a huge slowdown when
calling node APIs directly from the webkit code vs calling the node apis
through msgpack encoded RPC over websockets.

I understand one of the main goals of node-webkit is to make the
client-server interaction faster by removing the need to serialize calls,
but for some reason, it's really slow on OSX.  On linux it's plenty fast as
far as I can tell with my eyes.


 
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.
Roger  
View profile  
 More options Nov 6 2012, 5:53 pm
From: Roger <wen...@gmail.com>
Date: Wed, 07 Nov 2012 06:53:40 +0800
Local: Tues, Nov 6 2012 5:53 pm
Subject: Re: [node-webkit] Slow context bridge on osx

It should be #82, which was just fixed. After we release it today, you could have another try.


 
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.
Tim Caswell  
View profile  
 More options Nov 6 2012, 5:57 pm
From: Tim Caswell <t...@creationix.com>
Date: Tue, 6 Nov 2012 16:57:42 -0600
Local: Tues, Nov 6 2012 5:57 pm
Subject: Re: [node-webkit] Slow context bridge on osx

Awesome, it's looking like this next release has everything I need!


 
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.
Roger  
View profile  
 More options Nov 6 2012, 6:47 pm
From: Roger <wen...@gmail.com>
Date: Wed, 07 Nov 2012 07:47:16 +0800
Local: Tues, Nov 6 2012 6:47 pm
Subject: Re: [node-webkit] Slow context bridge on osx

Well, the fix for node-main is to be done in 0.3.3, which will be in next week :-)


 
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.
Tim Caswell  
View profile  
 More options Nov 7 2012, 6:16 pm
From: Tim Caswell <t...@creationix.com>
Date: Wed, 7 Nov 2012 17:16:43 -0600
Local: Wed, Nov 7 2012 6:16 pm
Subject: Re: [node-webkit] Slow context bridge on osx

The fix made my OSX app much faster initially, but after I added in pty.js
(a fork(3) binding), it got super slow.  Every libuv event now has around
1000ms of latency.  This is using 0.3.2.


 
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.
matthewwr...@gmail.com  
View profile  
 More options Dec 8 2012, 5:35 pm
From: matthewwr...@gmail.com
Date: Sat, 8 Dec 2012 14:35:58 -0800 (PST)
Local: Sat, Dec 8 2012 5:35 pm
Subject: Re: [node-webkit] Slow context bridge on osx

Has there been any progress or updates on this? There has been a few
releases since the last post and I'm curious if the problem was figured out
and or resolved. Thanks.


 
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.
Tim Caswell  
View profile  
 More options Dec 8 2012, 5:40 pm
From: Tim Caswell <t...@creationix.com>
Date: Sat, 8 Dec 2012 16:40:05 -0600
Local: Sat, Dec 8 2012 5:40 pm
Subject: Re: [node-webkit] Slow context bridge on osx

It's been considerably better in later versions.


 
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.
Roger WANG  
View profile  
 More options Dec 9 2012, 8:20 pm
From: Roger WANG <roger.w...@intel.com>
Date: Mon, 10 Dec 2012 09:20:44 +0800
Local: Sun, Dec 9 2012 8:20 pm
Subject: Re: [node-webkit] Slow context bridge on osx

Tim Caswell <t...@creationix.com> writes:
> It's been considerably better in later versions.

Yeah. It's been improved a lot in v0.3.3. You can see the progress
and discussion happened here:

https://github.com/rogerwang/node-webkit/issues/82

Background: unlike Win & Linux, on Mac the renderer process of Chromium
depends on Cocoa¹ so the mainloop of Cocoa and libuv has to be
merged. And then due to possible OSX bug of handling kqueue², which
libuv is based on OSX, we made some workaround for this.

¹  http://code.google.com/p/chromium/issues/detail?id=13890

²  https://www.google.com/search?q=kqueue+osx+bug

Roger

> On Sat, Dec 8, 2012 at 4:35 PM, <matthewwr...@gmail.com> wrote:

>> Has there been any progress or updates on this? There has been a few
>> releases since the last post and I'm curious if the problem was figured out
>> and or resolved. Thanks.

>> On Wednesday, November 7, 2012 3:16:44 PM UTC-8, Tim Caswell wrote:

>>> The fix made my OSX app much faster initially, but after I added in
>>> pty.js (a fork(3) binding), it got super slow.  Every libuv event now has
>>> around 1000ms of latency.  This is using 0.3.2.

--
Roger WANG                     Intel Open Source Technology Center

 
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 »