From: jdalton on
Hi David,

> A what request?
http://github.com/guides/pull-requests
http://github.com/phiggins42/taskspeed

> You babbled a few generalizations, but didn't really say anything specific
It shows that while you call others incompetent they cover more bugs/
spec than your own work.

> I don't need to test any of their bullshit at all.
You should, it helps point out the holes in your library.

> Uh, no. You clearly don't understand how they work.
It's more than a switch statement and a few lines of code.
Browsers have issues/bugs that also need to be addressed.
You are oversimplifying.

> I've barely said a thing about it since.
"The fastest, most concise, compatible and future-proof framework" 6
hours ago
"Write Once, Do Nothing, Run Anywhere, Forever." Jan 18th
"RIP jQuery, et al. Disco is Dead :) http://www.cinsoft.net/queries.html"
Jan 3rd

> LOL. Moved on to jQuery?
Nope :D

> Pardon me if I ignore the rest of your reports. :)
Ignoring your bugs/failings won't make them go away.
David, you have missed_the_mark more than a few times.
2 quick examples:
API.setAttribute erases element event observers when name/type
attributes are set in IE.
API.addScript called in the HEAD element throws an `Operation
Aborted` error in IE6 when a page has a BASE element

> Any result that shows it as one of the "slowest" is clearly suspect.
As mentioned earlier you have been testing old versions of frameworks
and
have delayed in updating to the most recent which is clearly
suspect :D

> I can tell you that without looking at any of your results (I've seen
> all of the code). ;)
Again, pretending your code is above reproach won't get you anywhere.
From: johncoltrane on
For what it's worth, here are my results with a G5 Mac from 2004 :

Specs : Mac OS X 10.5.8 / 1.8 GHz ppc G5 / 3 Gb RAM

TaskSpeed @ http://scott.sauyet.com/Javascript/Test/taskspeed/2010-01-27a
---------------------+--------------+-------------+--------------
| Safari 4.0.4 | Opera 10.10 | Firefox 3.5.6
---------------------+--------------+-------------+--------------
PureDom* | 1143 | 3153 | 1 1628
Dojo 1.4.0 | 3 761 | 3 2277 | 2654
jQuery 1.4.0 | 1934 | 5847 | 2793
MooTools 1.2.4 | 835 | 5809 | 4580
Prototype 1.6.0.3 | 1192 | 9485 | 5247
qooxdoo 0.8.2 | 2 666 | 2 1666 | 3 2190
YUI 2.7.0 | 1341 | 5322 | 3888
My Library (QSA Min) | 1 650 | 1 1435 | 2 2146


TaskSpeed @ http://www.cinsoft.net/taskspeed.html
---------------------+--------------+-------------+--------------
| Safari 4.0.4 | Opera 10.10 | Firefox 3.5.6
---------------------+--------------+-------------+--------------
PureDom* | 1257 | 3918 | 1 3012
jQuery 1.2.6 | 5672 | 22390 | 17130
jQuery 1.3.2 | 3655 | 12422 | 14107
Prototype 1.6.0.3 | 1237 | 10553 | 10287
MooTools 1.2.2 | 1268 | 4792 | 7636
qooxdoo 0.8.2 | 3 1009 | 1 1941 | 2 3556
Dojo 1.3.2 | 1090 | 2 2358 | 4629
Dojo 1.4.0 | 2 962 | 3 2445 | 5354
YUI 2.7.0 | 1196 | 7962 | 6835
YUI 3.0 | 1215 | 2749 | 4465
My Library 1.0 | 1 581 | 5062 | 3 4315

What I see here :
(on topic)
My Library, Dojo and Qooxdoo are the fastest libs on this machine.
jQuery and Prototype are the slowest on this machine.
(off topic)
I never liked Firefox on Mac. Now, I think I know why.

--
(�l�)
From: David Mark on
On Jan 27, 5:20 pm, johncoltrane <waternogeten...(a)gmail.com> wrote:
> For what it's worth, here are my results with a G5 Mac from 2004
:
>
> Specs : Mac OS X 10.5.8 / 1.8 GHz ppc G5 / 3 Gb RAM

Very nice. Thanks John!

>
> TaskSpeed @http://scott.sauyet.com/Javascript/Test/taskspeed/2010-01-27a
> ---------------------+--------------+-------------+--------------
>                       | Safari 4.0.4 | Opera 10.10 | Firefox 3.5.6
> ---------------------+--------------+-------------+--------------
> PureDom*             |         1143 |        3153 | 1        1628
> Dojo 1.4.0           | 3        761 | 3      2277 |          2654
> jQuery 1.4.0         |         1934 |        5847 |          2793
> MooTools 1.2.4       |          835 |        5809 |          4580
> Prototype 1.6.0.3    |         1192 |        9485 |          5247
> qooxdoo 0.8.2        | 2        666 | 2      1666 | 3        2190
> YUI 2.7.0            |         1341 |        5322 |          3888
> My Library (QSA Min) | 1        650 | 1      1435 | 2        2146
>
> TaskSpeed @http://www.cinsoft.net/taskspeed.html
> ---------------------+--------------+-------------+--------------
>                       | Safari 4.0.4 | Opera 10.10 | Firefox 3.5.6
> ---------------------+--------------+-------------+--------------
> PureDom*             |         1257 |        3918 | 1        3012
> jQuery 1.2.6         |         5672 |       22390 |         17130
> jQuery 1.3.2         |         3655 |       12422 |         14107
> Prototype 1.6.0.3    |         1237 |       10553 |         10287
> MooTools 1.2.2       |         1268 |        4792 |          7636
> qooxdoo 0.8.2        | 3       1009 | 1      1941 | 2        3556
> Dojo 1.3.2           |         1090 | 2      2358 |          4629
> Dojo 1.4.0           | 2        962 | 3      2445 |          5354
> YUI 2.7.0            |         1196 |        7962 |          6835
> YUI 3.0              |         1215 |        2749 |          4465
> My Library 1.0       | 1        581 |        5062 | 3        4315
>
> What I see here :
> (on topic)
> My Library, Dojo and Qooxdoo are the fastest libs on this machine.

Looking under the hood, you will find that Dojo and Qooxdoo are
cheating with browser sniffing. If you go back to older versions, you
will find they fall flat on their face when confronted with IE8.
That's not cross-browser scripting (just a fleeting illusion). Near
as I can tell, they still don't get it (to this day!) You sure can't
trust the UA string in IE8 (as if you could ever trust it anywhere).
They have just run straight into a ten-year-old truth and are still
reeling from the impact. ;)

> jQuery and Prototype are the slowest on this machine.

They always were. Looking under the hood shows why. ;)

> (off topic)
> I never liked Firefox on Mac. Now, I think I know why.
>

It's always been a lesser FF (a bit buggy too). Who would use FF when
they have Safari built-in? ;)
From: RobG on
On Jan 28, 3:09 am, David Mark <dmark.cins...(a)gmail.com> wrote:
> TaskSpeed is another quasi-standard test that has never seen anything
> like My Library. :) It was written by one of the Dojo guys. Yeah, I
> know. :(
>
> http://www.cinsoft.net/mylib-testspeed.html
>
> It just flat-out murders the rest (even Dojo)

Not on my machine - Windows XP, 3.3GHz P4. Here's the results for
Firefox 3.5 and IE 6:

Library Fx IE 6
PureDom* 794 3,031
jQuery 1.2.6 5,830 36,326
jQuery 1.3.2 3,763 11,826
Prototype 1.6.0.3 2,879 37,185
MooTools 1.2.2 2,306 20,358
qooxdoo 0.8.2 1,051 4,062
Dojo 1.3.2 1,218 9,110
Dojo 1.4.0 1,198 5,125
YUI 2.7.0 2,300 7,063
YUI 3.0 1,062 3,954
My Library 1.0 1,371 5,625


In Firefox My Library is beaten by YUI 3.0 and Dojo versions 1.4 and
1.3.2. In IE 6, it is beaten by YUI 3.0, Dojo 1.4 and qooxdoo.
Prototype failed the insertAfter test in both Firefox and IE 6,


> And yes, the test
> functions are _very_ concise (even too concise).

If "concise" means less code, then the library itself is 145KB, which
is twice the size of YUI 3, though smaller than the monstorous
qooxdoo. Perhaps the size can be optimised so that each libarary only
contains the components required for the particular tests.

The test code itself is not as concise as that for jQuery, and not
much more concise than most of the others. Prototype and MooTools are
perhaps the least concise, the total code for the "pure DOM" is 10KB.

But the test code is tiny in comparison to the library itself, so not
really a huge concern.


--
Rob
From: Andrew Poulos on
On 28/01/2010 11:53 AM, RobG wrote:
> On Jan 28, 3:09 am, David Mark <dmark.cins...(a)gmail.com> wrote:
>> TaskSpeed is another quasi-standard test that has never seen anything
>> like My Library. :) It was written by one of the Dojo guys. Yeah, I
>> know. :(
>>
>> http://www.cinsoft.net/mylib-testspeed.html
>>
>> It just flat-out murders the rest (even Dojo)
>
> Not on my machine - Windows XP, 3.3GHz P4. Here's the results for
> Firefox 3.5 and IE 6:
>
> Library Fx IE 6
> PureDom* 794 3,031
> jQuery 1.2.6 5,830 36,326
> jQuery 1.3.2 3,763 11,826
> Prototype 1.6.0.3 2,879 37,185
> MooTools 1.2.2 2,306 20,358
> qooxdoo 0.8.2 1,051 4,062
> Dojo 1.3.2 1,218 9,110
> Dojo 1.4.0 1,198 5,125
> YUI 2.7.0 2,300 7,063
> YUI 3.0 1,062 3,954
> My Library 1.0 1,371 5,625

My testing on MS Vista:

Library Fx 3.6 IE 8 Op 10.10 Safari 4.04

PureDom 282 1,211 190 246
jQuery 1.2.6 1,692 6,269 1,904 1,188
jQuery 1.3.2 1,401 3,219 956 708
Prototype 1.6.0.3 889 3,790 830 385
MooTools 1.2.2 733 5,711 451 276
qooxdoo 0.8.2 405 1,383 180 208
Dojo 1.3.2 435 2,104 217 271
Dojo 1.4.0 448 1,771 266 245
YUI 2.7.0 788 2,370 517 286
YUI 3.0 440 1,531 252 255
My Library 1.0 448 1,757 222 168

I'm not sure how myLib can be faster than pure dom???

Andrew Poulos