Hi!

I'm having a little performance problem with the JSON example.
Given the following program:

   http://www.ta-sa.org/files/data/jstest.st

Produces this output here:

   Best : 2 ms
   Worst: 21 ms
   Avg  : 9 ms

That means: the best parsing time is 2ms, the worst was 21 ms, and it
takes 9ms to parse the little json string in the file there.

I don't know where the variance comes from, it looks weird. And it seems
to be even more weird that that small string takes up to 21ms to parse.

The same string takes, in the fast C JSON parser I know, only 0.0165 ms.
And the slowes C JSON parser I know takes 0.147 ms.  I don't know how
fast smalltalk is when it comes down to string processing, but I
certainly would not expect an avg of 9ms to parse that string, at least
not with that variance. There must be something else that slows this
down so much.

Any suggestions?


Robin


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to