Oct
26
2008

Peppy 0.1.2 beta is now available

Today, I am releasing the latest maintenance version of Peppy - 0.1.2. This includes fixes for the 9 test failures in Safari as well as the 3 test failures in Opera. Peppy now passes 131 unit tests in all of these browsers (and fails none!). Also, included in this release is the disabling of caching in IE.

To download Peppy please go here.

I am already working on the next release of Peppy (will include even more performance optimization). This should be available within a few weeks.

Thanks.

Written by jdonaghue in: CSS3, JavaScript, Peppy, Selectors |

26 Comments »

  • Some issues:

    1. peppy.zip is 404.
    2. IP of this server is blocked in China, by the great firewall.(Is it on bluehost or other hosting?)
    3. Is there any document about how to merge it into popular libs?

    Really nice code.

    :D

    Comment | October 26, 2008
  • Another two:

    4. Sizzle has updates recently.
    5. DOMAssistant has a good selecter engine too. http://www.domassistant.com/

    (in my FF3:
    peppy:34ms
    sizzle:33ms
    domassistant:37ms
    , can’t test in other browsers since I need to use Tor with FF to break the great firewall.)

    :D

    Comment | October 26, 2008
  • James,

    Send me an email if you have time…

    Regards,
    -Dylan

    Comment | October 26, 2008
  • nice ;)

    Comment | October 27, 2008
  • jdonaghue

    @Cloudream: I have fixed the 404 error with peppy.zip. I will also add some documentation soon that will explain how to use Peppy with other libraries. Thanks.

    Comment | October 27, 2008
  • Nick

    John Resig could use the competition, most smart people out there are too lazy and just go with whatever Resig comes up with, the guy has too much time on his hands. You are doing a great job, keep it up!

    Comment | October 30, 2008
  • jdonaghue

    @Dr.Death, @Nick: Thanks!

    Comment | October 30, 2008
  • krull

    How to replace jquery selector engine by peppy ?

    Comment | October 31, 2008
  • The test results looks awesome, but i can`t find any documentation how to use Peppy

    Comment | October 31, 2008
  • Remi

    Hi James !

    I’ve notices that first version (peppy 0.1.0) is no more available for download on your site. Could you please add a link to this first revision ?
    I’ve noticed that Peppy 0.1.2 is slower on IE6 than 0.1.0 verison was since you have removed the cache mecanism. Nevertheless, even if this mecanism was a little buggy, it was really not a problem for my needs. So, I’d prefer to use version 0.1.0 ti drastically improve our performances on IE6/7. Thanks.

    Rémi

    Comment | October 31, 2008
  • >>How to replace jquery selector engine by peppy ?

    I think James said he’d provide that info soon. In the meantime you can look at the last few lines of Resig’s source code for Sizzle and see how he does the replacement.

    Comment | October 31, 2008
  • [...] Джеймс Донахью выпустил первый бета-релиз «Peppy» — движка [...]

    Pingback | November 2, 2008
  • this is fantastic stuff!
    I’ve been playing with it around the office for a few days and today we added it to one of our ongoing projects.
    great stuff and thanks :)

    PS: if you take requests it would be awesome if you could add a generic each() method that would work on some anonymous function logic. with that peppy would be all that I need from js frameworks

    Comment | November 4, 2008
  • krull

    no news or how to, to replace jquery selector engine by peppy ???

    Comment | November 17, 2008
  • Hi James,

    I’ve been looking around comparing CSS engine speeds and wondered what you thought about my post at http://www.gbradley.co.uk/blog/2008/11/18/slickspeed-with-a-pinch-of-salt/. Hope you don’t get the wrong idea with my using Peppy as an example.

    Comment | November 18, 2008
  • Graham Bradley

    Hi James,

    I added a post here yesterday and it seems to have been removed. Your blog == your rules, naturally, but if you thought my article was unfair then I’ve not made it clear enough. The article was not trying to say Peppy is slow or that your results are intentionally misleading - far from it, as I’m still confounded as to how you’ve made Peppy as fast as it is. I’m merely saying that Slickspeed isn’t a fair representation of the performance you’d get using any of these selector engines in production. If you think I should reword anything I wrote just let me know.

    Comment | November 19, 2008
  • jdonaghue

    @Graham Bradley: My blog is set up to not show comments until I approve them, I just hadn’t got around to reading them yet. Sorry about the confusion. I didn’t take offense to your post, quite the opposite actually, I thought your article was very interesting. I plan to talk more about this on a blog post to come the near future. Thanks for your perspective and I appreciate your stopping by my blog.

    @krull: Sorry, about the delay of documentation. I have been hard at work on several different projects. I will have something available within the next week.

    @Greg Wolejko: Thanks! I have been thinking about how best to support something like this with Peppy, and I will probably add it (and some other hopefully useful things) as a plugin.

    @Remi: The next release of Peppy will provide an API to disable caching. Also, I will make the older versions of Peppy available shortly.

    Comment | November 19, 2008
  • Strangely, but Peppy returns sorted backwards array of items for such query: “input[type='checkbox']”
    My belowed but abandoned cssQuery does it right.

    Comment | November 26, 2008
  • Nick

    Might want to add some sort of way to donate. I’m sure some of us are willing to buy a few beers for the work.

    Comment | December 3, 2008
  • Можно и поспорить по этому вопросу, ведь только в споре может быть достигнута истина. :)

    Comment | December 28, 2008
  • I really very liked this post. Can I copy it to my blog?
    Thank in advance.

    Sincerely, Timur.

    Comment | January 2, 2009
  • Так интересно, но так банально… :)

    Comment | January 4, 2009
  • Только вот вчера об этом думал, так что пост как нельзя в тему!

    Comment | January 5, 2009
  • Pedro

    Hello James.

    Congratulation for your great work!!

    I’m using Peppy and I has found the next fix:

    peppy.query(”div[title~='Hello']“); //ok

    // custom attribute
    peppy.query(”div[foo~='mycustomAttr2']“);
    /*
    error line 461 , getAttribute(e,a) is undefined
    */

    I’m sorry my poor English (I’m Spanish).

    Comment | January 25, 2009
  • Any newer versions out?

    Comment | January 26, 2009
  • jdonaghue

    @Pedro: Thanks for reporting the bug, I will make sure to include its fix in the next release.

    @iCarly cds: Soon. I know I have been saying that for a while. I have been incredibly busy (aren’t we all :) ). At this point I am hoping for before the end of Feb, maybe mid march.

    Comment | January 28, 2009

RSS feed for comments on this post. TrackBack URL

Leave a comment

Comments require approval, so they will not display immediately.

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes