big-r81 commented on issue #5568: URL: https://github.com/apache/couchdb/issues/5568#issuecomment-2979138128
My first impressions on this. TLDR, without any modifications and with my simple benchmark script, it seems Snappy is a little bit slower. Hardware: iMac 11,2 (mid 2011) For testing, I used [datamaker](https://github.com/glynnbird/datamaker) and [couchimport](https://github.com/glynnbird/couchimport) from @glynnbird. First, I created a sample dataset with 100k documents with this [template](https://gist.github.com/big-r81/f19f41b139ccbd0e10e1b2d4314daa27 ``` datamaker -t ./template.json -f json -i 100000 > sample100k.json ``` Afterwards I started the configured CouchDBs (with "old" and "new" Snappy) and ran my simple [test script](https://gist.github.com/big-r81/418cd0f626bd54aefa6031a23d69f515): Test results: <table> <tr> <td></td> <td colspan="2" align="center">Old Snappy</td> <td colspan="2" align="center">New Snappy</td> </tr> <tr> <td># run</td> <td>writing 100k docs</td> <td>reading 100k docs</td> <td>writing 100k docs</td> <td>reading 100k docs</td> </tr> <tr> <td>1st run</td> <td>0m44.198s</td> <td>0m16.202s</td> <td>0m48.151s</td> <td>0m16.749s</td> </tr> <tr> <td>2nd run</td> <td>0m45.432s</td> <td>0m15.705s</td> <td>0m48.816s</td> <td>0m16.609s</td> </tr> <tr> <td>3rd run</td> <td>0m45.573s</td> <td>0m15.572s</td> <td>0m47.300s</td> <td>0m16.434s</td> </tr> <tr> <td>mean</td> <td>0m45.068s</td> <td>0m15.826s</td> <td>0m48.089s</td> <td>0m16.597s</td> </tr> </table> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
