forked from eishay/jvm-serializers
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
maslovalex edited this page Jan 31, 2011
·
7 revisions
This is a forked repository. It adds few YAML serializers.
Have a look at eishay’s jvm-serializers wiki for more information.PASS
- yaml/snakeyaml
- yaml/snakeyaml-shared
- yaml/yamlbeans
- yaml/jyaml
FAIL
- yaml/jvyaml
- yaml/jvyamlb
Last 2 produce
ERROR: "yaml/jvyaml" crashed during reverse transformation. ERROR: "yaml/jvyamlb" crashed during reverse transformation.
Beware! No optimization done to any of the serializers except SnakeYaml since I know something about it.
Others were used according to information provided by correspondent documentation (web pages).
Feel free to OPTIMIZE any of these, because ALL are slow ;)
Here are some results
./run -pre-warmup -include=yaml/snakeyaml,yaml/yamlbeans,yaml/snakeyaml-shared,yaml/jyaml data/media.1.cks
name | create | ser | +same | deser | +shal | +deep | total | size | +dfl |
---|---|---|---|---|---|---|---|---|---|
yaml/snakeyaml | 206 | 213890 | 212348 | 227205 | 227349 | 228063 | 441952 | 521 | 298 |
yaml/snakeyaml-shared | 210 | 169844 | 168629 | 180003 | 179802 | 180213 | 350056 | 521 | 298 |
yaml/yamlbeans | 206 | 307514 | 304515 | 415640 | 416879 | 416519 | 724033 | 569 | 277 |
yaml/jyaml | 210 | 532244 | 529679 | 582462 | 581416 | 581448 | 1113692 | 704 | 317 |
./run -pre-warmup -include=yaml/snakeyaml,yaml/yamlbeans,yaml/snakeyaml-shared,yaml/jyaml data/media.2.cks
name | create | ser | +same | deser | +shal | +deep | total | size | +dfl |
---|---|---|---|---|---|---|---|---|---|
yaml/snakeyaml | 226 | 250756 | 249267 | 271227 | 272560 | 273307 | 524062 | 622 | 330 |
yaml/snakeyaml-shared | 223 | 206896 | 205979 | 226790 | 226379 | 227496 | 434392 | 622 | 330 |
yaml/yamlbeans | 224 | 317379 | 315583 | 429519 | 428769 | 427985 | 745363 | 630 | 296 |
yaml/jyaml | 224 | 577158 | 575720 | 579261 | 578093 | 578876 | 1156033 | 778 | 345 |
./run -pre-warmup -include=yaml/snakeyaml,yaml/yamlbeans,yaml/snakeyaml-shared,yaml/jyaml data/media.3.cks
name | create | ser | +same | deser | +shal | +deep | total | size | +dfl |
---|---|---|---|---|---|---|---|---|---|
yaml/snakeyaml | 209 | 301449 | 299990 | 261192 | 262246 | 262506 | 563954 | 1870 | 395 |
yaml/snakeyaml-shared | 209 | 258577 | 257332 | 215833 | 215697 | 216341 | 474918 | 1870 | 395 |
yaml/yamlbeans | 209 | 376437 | 373909 | 627845 | 628292 | 628492 | 1004929 | 1910 | 367 |
yaml/jyaml | 210 | 573481 | 571671 | 633064 | 631316 | 630699 | 1204180 | 2045 | 419 |
./run -pre-warmup -include=yaml/snakeyaml,yaml/yamlbeans,yaml/snakeyaml-shared,yaml/jyaml data/media.4.cks
name | create | ser | +same | deser | +shal | +deep | total | size | +dfl |
---|---|---|---|---|---|---|---|---|---|
yaml/snakeyaml | 207 | 200263 | 198689 | 223492 | 223946 | 225046 | 425309 | 345 | 232 |
yaml/snakeyaml-shared | 207 | 156576 | 155259 | 175985 | 176094 | 177108 | 333683 | 345 | 232 |
yaml/yamlbeans | 207 | 289421 | 287148 | 383747 | 383052 | 383553 | 672973 | 401 | 217 |
yaml/jyaml | 206 | 503209 | 409944 | 536273 | 534010 | 534141 | 1037350 | 530 | 256 |
It has been done under
OSX 1.6.4, Core 2 Duo 2.66, 4GB 1065 MHz DDR3 java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)