Re: [webkit-dev] [squirrelfish] [webkit-help] Optimize Property Access failed

2012-08-08 Thread talking1239
My webkkit version 60* and many custom features are verified, so it is hard to update it. But after check the Changlog, i find that GC is related with JIT Infrastructure and ARCH code. -- BGs/Felix Shi At 2012-08-09 07:36:16,"Filip Pizlo" wrote: The existence of the enable flag you mentio

[webkit-dev] SquirrelFish Continuations support

2009-05-20 Thread Daniel Dreiberg
Hi, Does webkit javascript engine SquirrelFish have Continuations support? Like the one in Rhino JavaScript engine: https://developer.mozilla.org/en/New_in_Rhino_1.7R2 Basically, can I save the execution context of SquirrelFish and then resume later on? Thank you. _

Re: [webkit-dev] squirrelfish-bytecode

2009-05-14 Thread Meryl Silverburgh
On Wed, May 13, 2009 at 7:05 PM, Maciej Stachowiak wrote: > > Responding to both of you... > > On May 13, 2009, at 12:13 PM, Rob Kroeger wrote: > >> Hi, >> >> On Wednesday, May 13, 2009, Jeremy Orlow wrote: >>> >>> On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: >>> >>> >>> On May 13,

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Maciej Stachowiak
Responding to both of you... On May 13, 2009, at 12:13 PM, Rob Kroeger wrote: Hi, On Wednesday, May 13, 2009, Jeremy Orlow wrote: On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: Hi, Does webkit cache squirrelfish bytec

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Rob Kroeger
Hi, On Wednesday, May 13, 2009, Jeremy Orlow wrote: > On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > > > Hi, > > Does webkit cache squirrelfish bytecode? For example, multiple can use > the same javascript file (e.g. commo

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Jeremy Orlow
On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > > Hi, >> >> Does webkit cache squirrelfish bytecode? For example, multiple can use >> the same javascript file (e.g. common javascript libraries, like >> jquery, or same domain

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Darin Adler
On May 13, 2009, at 9:09 AM, Meryl Silverburgh wrote: You mention native code. Under what situation will squirrelfish generate native code? I thought this is how v8 works, but not squirrelfish. Squirrelfish parse JS files and generate its internal bytecode and its VM will execute the byteco

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Meryl Silverburgh
On Wed, May 13, 2009 at 1:11 AM, Maciej Stachowiak wrote: > > On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: > >> Hi, >> >> Does webkit cache squirrelfish bytecode? For example, multiple can use >> the same javascript file (e.g. common javascript libraries, like >> jquery, or same domain u

Re: [webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Maciej Stachowiak
On May 13, 2009, at 12:18 AM, Meryl Silverburgh wrote: Hi, Does webkit cache squirrelfish bytecode? For example, multiple can use the same javascript file (e.g. common javascript libraries, like jquery, or same domain uses some common javascript file across different pages for the same domain)

[webkit-dev] squirrelfish-bytecode

2009-05-13 Thread Meryl Silverburgh
Hi, Does webkit cache squirrelfish bytecode? For example, multiple can use the same javascript file (e.g. common javascript libraries, like jquery, or same domain uses some common javascript file across different pages for the same domain). When webkit parses the JS file and builds squirrelfish-b

Re: [webkit-dev] Squirrelfish

2009-04-14 Thread Cameron Zwarich
On 14-Apr-09, at 10:15 AM, thouraya andolsi wrote: Hi, I had a look on the squirrelfish source code and I saw that there is no mixed mode. It means we use JIT or interpreter but we can't switch to interpreter if the JIT fails. Is it OK ? or I'm wrong ? In theory, it should be possible f

[webkit-dev] Squirrelfish

2009-04-14 Thread thouraya andolsi
Hi, I had a look on the squirrelfish source code and I saw that there is no mixed mode. It means we use JIT or interpreter but we can't switch to interpreter if the JIT fails. Is it OK ? or I'm wrong ? Best regards. Thouraya. ___ webkit-dev mailing lis

Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Oliver Hunt
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine? The old AST engine was removed in June when we switch to the original SquirrelFish, so you can't not ha

Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Ariya Hidayat
> Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from > web pages doesn't have to be compiled somehow? How do we do that? > What about the JavaScript objects that are created using the JavaScriptAPI? > How does SquirrelFish handle these objects? Why don't you start with htt

Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Iulian
Ok. If SquirrelFish is using bytecode, as people say, JavaScript code from web pages doesn't have to be compiled somehow? How do we do that? What about the JavaScript objects that are created using the JavaScriptAPI? How does SquirrelFish handle these objects? Iulian Ariya Hidayat-3 wrote: > >

Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Ariya Hidayat
> Is there a way to find out what JavaScript engine WebKit is using? > I have WebKit-r38068 and i'm using the GTK port. > How can i know if my WebKit is using SquirrelFish or the old JS Engine? WebKit has switched to SquirrelFish-based JSC since quite some time. r38068 is from around November, s

Re: [webkit-dev] SquirrelFish in WebKitGtk

2009-01-07 Thread Iulian
Is there a way to find out what JavaScript engine WebKit is using? I have WebKit-r38068 and i'm using the GTK port. How can i know if my WebKit is using SquirrelFish or the old JS Engine? Iulian Oliver Hunt-2 wrote: > > "SquirrelFish" is the underlying execution engine for javascriptcore >

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-26 Thread Gavin Barraclough
On Dec 25, 2008, at 3:51 AM, Oliver Hunt wrote: You can manually align the memory, eg. char* memory = malloc(size + alignment - 1); memory += alignment; memory &= ~(alignment - 1) return memory; Oops, think you meant: memory += (alignment - 1); G. The obvious problem with this is tha

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 4:34 PM, Maciej Stachowiak wrote: All of the #if branches allocateBlock will guarantee 64k alignment, which is what is required. That's with the exception of the PLATFORM(SYMBIAN) branch, which appears to be incorrect. I would expect it to lead to crashes as a result

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 4:51 AM, Oliver Hunt wrote: You can manually align the memory, eg. char* memory = malloc(size + alignment - 1); memory += alignment; memory &= ~(alignment - 1) return memory; The obvious problem with this is that you can't directly free the result as it will not necessari

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Maciej Stachowiak
On Dec 25, 2008, at 3:54 AM, Oliver Hunt wrote: On Dec 25, 2008, at 2:18 AM, Javed Rabbani wrote: Oliver, <"That call to VirtualAlloc is inside a PLATFORM(WIN_OS) guard -- you should not be hitting it on a non-windows platform"> You are absolutely right about that. The VirtualAlloc() sh

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Oliver Hunt
You can manually align the memory, eg. char* memory = malloc(size + alignment - 1); memory += alignment; memory &= ~(alignment - 1) return memory; The obvious problem with this is that you can't directly free the result as it will not necessarily represent the start of the allocation, but the

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Javed Rabbani
Oliver, Thanks a great deal for this explanation. I am considering running JS SquirrelFish extreme engine on an ARM-based embedded platform. You are right that posix systems should provide mmap or posix_memalign that will serve the purpose. I am concerned about this issue because in my case, there

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Oliver Hunt
On Dec 25, 2008, at 2:18 AM, Javed Rabbani wrote: Oliver, <"That call to VirtualAlloc is inside a PLATFORM(WIN_OS) guard -- you should not be hitting it on a non-windows platform"> You are absolutely right about that. The VirtualAlloc() should never be hit on non-Windows platform. Let me

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Javed Rabbani
Oliver, <"That call to VirtualAlloc is inside a PLATFORM(WIN_OS) guard -- you should not be hitting it on a non-windows platform"> You are absolutely right about that. The VirtualAlloc() should never be hit on non-Windows platform. Let me clarify, I am not hitting the VirtualAlloc call on a non-W

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Oliver Hunt
On Dec 25, 2008, at 12:54 AM, Javed Rabbani wrote: This way the engine will run without JIT support. However, what to do with memory allocation functions like VirtualAlloc() that are only available on Windows? I mean to say, to run on embedded platforms, what alternate has to exist that ma

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-25 Thread Javed Rabbani
This way the engine will run without JIT support. However, what to do with memory allocation functions like VirtualAlloc() that are only available on Windows? I mean to say, to run on embedded platforms, what alternate has to exist that may provide the facility of VirtualAlloc(). As far I have seen

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-24 Thread Maciej Stachowiak
On Dec 24, 2008, at 1:52 PM, Javed Rabbani wrote: That means the current JS Engine (SquirrelFish Extreme) can be run on embedded/mobile platforms in bytecode mode without JIT. Correct me if I am wrong? If I am correct, then how to enable the engine's bytecode mode? There are number of ENAB

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-24 Thread Javed Rabbani
That means the current JS Engine (SquirrelFish Extreme) can be run on embedded/mobile platforms in bytecode mode without JIT. Correct me if I am wrong? If I am correct, then how to enable the engine's bytecode mode? There are number of ENABLE switches related to current JS engine... Regards, J R S

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-24 Thread Maciej Stachowiak
On Dec 24, 2008, at 6:46 AM, Holger Freyther wrote: On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on

Re: [webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-24 Thread Holger Freyther
On Wednesday 24 December 2008 14:00:19 Javed Rabbani wrote: > I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) > has been reported to work on any embedded, non-x86 platform? No, the extreme variant is only working on x86 and work on progress on the amd64... z.

[webkit-dev] SquirrelFish Extreme for non x-86 platforms

2008-12-24 Thread Javed Rabbani
I want to know whether WebKit JavaScript Engine SquirrelFish Extreme (SFX) has been reported to work on any embedded, non-x86 platform? I have built a recent nightly build on Windows and it works fine. However, there is use of Windows specific VirtualAlloc() API functions for allocating memory fro

Re: [webkit-dev] SquirrelFish in WebKitGtk

2008-11-28 Thread Oliver Hunt
"SquirrelFish" is the underlying execution engine for javascriptcore -- it can't be disabled as then there would be no way to execute JS. JavaScriptCore provides the actual API you use -- SF is completely internal to JSC and has no external API. --Oliver On Nov 28, 2008, at 3:45 PM, ying l

Re: [webkit-dev] SquirrelFish in WebKitGtk

2008-11-28 Thread ying lcs
Thanks. When I 'make' the Gtk Webkit (from the trunk I got yesterday), does it enable SquirrelFish by default? On Fri, Nov 28, 2008 at 5:37 AM, Kalle Vahlman <[EMAIL PROTECTED]> wrote: > 2008/11/28 ying lcs <[EMAIL PROTECTED]>: >> If I get the source for WebKitGtk, using the documentation describe

Re: [webkit-dev] SquirrelFish in WebKitGtk

2008-11-28 Thread Kalle Vahlman
2008/11/28 ying lcs <[EMAIL PROTECTED]>: > If I get the source for WebKitGtk, using the documentation described here: > > http://live.gnome.org/WebKitGtk > > Does it have SquirrelFish? Yes, it will. All ports share the same JavaScript engine code. -- Kalle Vahlman, [EMAIL PROTECTED] Powered by h

[webkit-dev] SquirrelFish in WebKitGtk

2008-11-27 Thread ying lcs
If I get the source for WebKitGtk, using the documentation described here: http://live.gnome.org/WebKitGtk Does it have SquirrelFish? Thank you for any help. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listin

Re: [webkit-dev] SquirrelFish Extreme in WebKitGtk

2008-09-20 Thread Mark Rowe
On Sep 20, 2008, at 1:49 PM, Holger Freyther wrote: > On Saturday 20 September 2008 20:31:01 ying lcs wrote: >> Hi, >> >> i follow the procedure here >> git clone git://git.webkit.org/WebKit.git WebKit > > not yet. Ariya of Trolltech has a patch[1] but I do not know if he > considers > it ready

Re: [webkit-dev] SquirrelFish Extreme in WebKitGtk

2008-09-20 Thread Holger Freyther
On Saturday 20 September 2008 20:31:01 ying lcs wrote: > Hi, > > i follow the procedure here > git clone git://git.webkit.org/WebKit.git WebKit not yet. Ariya of Trolltech has a patch[1] but I do not know if he considers it ready for inclusion. z [1] http://code.staikos.net/cgi-bin/gitweb.cgi?

[webkit-dev] SquirrelFish Extreme in WebKitGtk

2008-09-20 Thread ying lcs
Hi, i follow the procedure here git clone git://git.webkit.org/WebKit.git WebKit to get WebKitGtk Can you please tell me how can I get SquirrelFish Extreme that mention in "http://apple.slashdot.org/article.pl?sid=08/09/19/2315247&from=rss";? Thank you. _

Re: [webkit-dev] SquirrelFish Extreme?

2008-09-18 Thread Maciej Stachowiak
On Sep 7, 2008, at 9:49 PM, Maciej Stachowiak wrote: > > On Sep 7, 2008, at 9:10 PM, Jon Shier wrote: > >> It's possible this is coming in a future blog post, but I'm wondering >> if someone could explain what SquirrelFish Extreme is all about. The >> changelist doesn't really say much. > > The s

Re: [webkit-dev] SquirrelFish Extreme?

2008-09-07 Thread Maciej Stachowiak
On Sep 7, 2008, at 9:10 PM, Jon Shier wrote: > It's possible this is coming in a future blog post, but I'm wondering > if someone could explain what SquirrelFish Extreme is all about. The > changelist doesn't really say much. The short version: SquirrelFish Extreme runs JavaScript quite a bit

[webkit-dev] SquirrelFish Extreme?

2008-09-07 Thread Jon Shier
It's possible this is coming in a future blog post, but I'm wondering if someone could explain what SquirrelFish Extreme is all about. The changelist doesn't really say much. Jon ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.w

Re: [webkit-dev] SquirrelFish Peformance

2008-07-07 Thread Geoffrey Garen
> 2) Compile speed > > I see the overall performance of SuqirrelFIsh is quite impressive. > However, I want to know how long it takes to compile JavaScript > source code to bytecode vs. how long it takes to execute the > bytecode. I guess it is much faster than JIT compiler, but I could > n

Re: [webkit-dev] SquirrelFish Peformance

2008-07-07 Thread Darin Adler
On Jul 6, 2008, at 8:08 PM, KwangYul Seo wrote: > 1) Bytecode size > > Is SquirrelFish bytecode compact? How much size reduction can I > expect from normal JS source code? The current form of bytecode is relatively compact compared to the syntax tree representation. I'm not aware of a numeric

[webkit-dev] SquirrelFish Peformance

2008-07-06 Thread KwangYul Seo
Hi, I read several articles on SquirrelFish performance. http://webkit.org/blog/189/announcing-squirrelfish/ http://www.satine.org/archives/2008/06/03/squirrelfish-is-faster-than-tamarin/ http://summerofjsc.blogspot.com/2008/06/squirrelfish-has-landed.html I was impressed with the performance im

[webkit-dev] SquirrelFish Design Idea: support for constant operands

2008-06-15 Thread Maciej Stachowiak
With the new opcode statistics added by Cameron, we can see that many of the bytecode instructions executed on both SunSpider and real sites are "load" instructions. On SunSpider, it's around 19%, and on many real sites the proportion is 10-20%. The "load" opcode's only purpose is to move a

Re: [webkit-dev] SquirrelFish: Very Impressive

2008-05-29 Thread Hanspeter Schaub
Howdy Jason, Thanks for the suggestion. I did recompile this afternoon and I seem to be getting the same performance as before now. odd... What new developer tools are you refering to? I logged into the apple developer site and didn't see any new tools listed. blue skies, HP ---

Re: [webkit-dev] SquirrelFish: Very Impressive

2008-05-29 Thread Jason Hullinger
HP, just wondering if you recompiled after upgrading? Also, if you did recompile, did you installed the developer tools update? I'm curious because in order to install the dev tool update, you must also update to 10.5.3. ~/Jason On Thu, May 29, 2008 at 6:15 AM, Hanspeter Schaub <[EMAIL PROTECTED]

Re: [webkit-dev] SquirrelFish: Very Impressive

2008-05-29 Thread Hanspeter Schaub
After upgrading from 10.5.2 to 10.5.3 yesterday, I'm seeing the sunspider results with about a 45% slowdown? I'm running the test on a MacBook dual-code 2Gz system, and my times went from 2.85s to 4.14s? I ran the test after doing the 10.5.3 upgrade without changing upgrading to any new w

Re: [webkit-dev] SquirrelFish: Very Impressive

2008-05-23 Thread Hanspeter Schaub
Same here... I had to run the comparison tests with FF3rc1 and Opera 9.5 several times on 2 computers to believe them :-) Very impressive speed up... HP --- Hanspeter Schaub Phone: (303) 642-0686 Email: [EMAIL PR

[webkit-dev] SquirrelFish: Very Impressive

2008-05-23 Thread Jon Shier
Devs: Just wanted to say thanks for all the work you've put into SquirrelFish. Even at such a early stage it's 60% faster than the previous nightly and have been faster than all of the other browsers I've tested so far as well, including FF3rc1 and Opera 9.5b2. I'm really looking fo