JIT JS for Odyssey
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    ausPPC
    Posts: 543 from 2007/8/6
    From: Pending...
    I'm impressed with the work and the progress. This site might be good for testing the javascript capability (and handling some big numbers) http://brainwallet.org/
    PPC assembly ain't so bad... ;)
  • »14.05.14 - 22:23
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    This might be a good test for your engine.

    http://peacekeeper.futuremark.com/
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »15.05.14 - 14:00
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    OWB-JIT now renders mandelbrot correctly ;)
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »15.05.14 - 20:36
    Profile Visit Website
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 417 from 2003/8/18
    Quote:

    Nice! Any early benchmark compared to traditional interpreter ?
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »15.05.14 - 21:21
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @bigfoot

    Great work! Can't wait to try it out!

    Benchmarks please :-D
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »15.05.14 - 22:30
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    It's a bit too early for real benchmarks, as my OWB is still full of debug output that slows things down considerably, but the Mandelbrot test I'm using seems to be somewhere in the region of 5 to 10 times as fast as the interpreter. But keep in mind that this is just the 'baseline JIT'. Webkit has another level of JIT called 'DFG' that promises further speedups through eliminating runtime type checking when possible, amongst other things.

    This graph was recently posted with the caption "Figure 3. Relative speed-up (higher is better) on the Richards benchmark from each of the three tiers." to a Webkit blog post. While this graph only demonstrates a specific benchmark on x86, it still gives an idea about what kind of speedups are possible.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »16.05.14 - 10:29
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    The more interesting question will be if one has to restart Odyssey within minutes instead of hours due to WebKit/JS related memleaks anyway .... :)
  • »16.05.14 - 10:49
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @bigfoot

    Do you have any plans to eventually port DFG as well?
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »16.05.14 - 12:41
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Quote:

    Yasu wrote:
    @bigfoot

    Do you have any plans to eventually port DFG as well?


    That's the plan, yes. But considering how deep into the design the reliance on little endian runs in Webkit's Javascript engine, I want to make sure the first level is working correctly before I go any further.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »16.05.14 - 12:50
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @bigfoot

    A great thank you for all your work! So, would I be wrong to think that with this JIT in place, OWB would load for example Youtube about as fast as any other modern browser? If so, that would be amazing! :-D
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »16.05.14 - 13:01
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    I can't really say how any specific website is going to perform when the JIT is ready.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »16.05.14 - 13:37
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    And a slightly more complicated demo, Tearable Cloth, now works in OWB-JIT.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »17.05.14 - 20:23
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Quote:

    bigfoot wrote:
    And a slightly more complicated demo, Tearable Cloth, now works in OWB-JIT.


    Cool! :-)

    Nice of you to report the progress, keep it coming!

    :-)
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »17.05.14 - 20:56
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    sabbate
    Posts: 110 from 2013/7/7
    From: Palermo - Italia
    congratulations I hope you can finish early, I would like to see if I can push a lot of my g4 350 mhz
  • »04.06.14 - 17:07
    Profile
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Well, I've got enough Webkit issues fixed now that I can browse Morphzone (and write this comment) with JIT enabled!
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »13.06.14 - 12:19
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    I don't want to make any more promises that I can't keep, but at this rate it is indeed looking good. However, keep in mind that while Morphzone loads, most other sites I've thrown at it still crash, so there's plenty of things to debug still.

    Also, this is only the first level ("baseline") JIT, which isn't that much faster than the interpreter. I haven't started work on the second level ("DFG") yet, which will no doubt have its own set of problems to figure out.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »13.06.14 - 14:17
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Another site now loads without crashing

    However, with my current level of debug output, it was too slow to really try any of the functionality. Loading the front page generated 130MB of debug output.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »13.06.14 - 14:40
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    naTmeg
    Posts: 135 from 2004/2/8
    Quote:

    Loading the front page generated 130MB of debug output.


    Sounds like fun, wish i could be there ;)
  • »13.06.14 - 15:56
    Profile Visit Website
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 417 from 2003/8/18
    Any progress?
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »18.09.14 - 08:20
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    kriz
    Posts: 309 from 2005/10/18
    From: No(R)way
    Looking forward to this , great work bigfoot !!
    MacMiniG4 MOS 3.18 rulez ... For music check: Horrordelic Records - Dark Psychedelic Music Since 2011 -
  • »19.09.14 - 01:35
    Profile Visit Website
  • MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Unfortunately there's no tangible progress to report at this moment. I'm currently moving to a new home, and it'll probably be a week or two before I can really get back to working on OWB.

    Sorry again for all the delays.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »20.09.14 - 06:55
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 564 from 2004/4/15
    BTW What happens to your patches for webkit and java script interpreter?
    Are they commited to the official trunk?
    regards
    eliot
  • »20.09.14 - 07:38
    Profile