|
Subject: speed of Binary serialization libraries Newsgroups: gmane.comp.lang.haskell.general Date: 2006-04-26 16:02:51 GMT (3 years, 10 weeks, 13 hours and 2 minutes ago) Hello haskell, i have performed a small test of serialization libraries speed, more to compare GHC's solution with my own. Tests was runned on 1GHz Duron. Each test reads or writes 100 mb of data splitted to 10 kb chunks - arrays or lists. Results are: GHC Binary (memory): Writing UArray: 21.652 secs Reading UArray: 17.064 secs Writing list: 21.231 secs Reading list: 22.562 secs GHC Binary (file): Writing UArray: 198.835 secs Reading UArray: 99.463 secs Writing list: 195.812 secs Reading list: 129.707 secs Other reincarnations of this module (jhc Binary, NewBinary) are slightly slower. Results of my own lib: AltBinary (memory, without bounds checking): Writing UArray: 1.933 secs Reading UArray: 1.683 secs Writing list: 1.832 secs Reading list: 2.744 secs AltBinary (memory): Writing UArray: 4.847 secs Reading UArray: 6.930 secs Writing list: 4.246 secs Reading list: 8.232 secs AltBinary (file): Writing UArray: 12.368 secs Reading UArray: 8.312 secs Writing list: 9.814 secs Reading list: 9.744 secs Testbed is included. -- Best regards, Bulat mailto:Bulat.Ziganshin <at> gmail.com _______________________________________________ Haskell mailing list Haskell <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell |
|
|