× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I wrote RPG benchmarks that measure the performance of parsing a JSON
document and mapping a fairly large number of values to an RPG
data-structure array, using 3 different parsers. One parser that I wrote
vs. the YAJL Tree interface vs. the RPG Data-Into / YAJLINTO Interface. I'm
posting links to the RPG source code for each benchmark. The interface that
I wrote performs 25 times faster than the YAJL Tree Interface and 142 Times
faster than the Data-Into / YAJLINTO interface. The Data-Into interface is
not quite an apples-to-apples comparison because it provides no way of
separating the "parsing" vs "data mapping" performance, which is measured
in the other 2 alternatives. Notwithstanding, it's clear that Data-Into
interfaces have a lot of overhead.

My Interface

http://rd.radile.com/rdweb/info3/iui20/json_test_01.txt

YAJL Tree Interface

http://rd.radile.com/rdweb/info3/iui20/yajl_test_01.txt

Data-Into / YAJLINTO Interface

http://rd.radile.com/rdweb/info3/iui20/yajl_test_02.txt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.