Performance verifying for Sqlite in-memory mode.

前端之家收集整理的这篇文章主要介绍了Performance verifying for Sqlite in-memory mode.前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Performance verifyingfor sqlite in-memory mode.

Testing environment:

Key-Value Map List table(100 fields)
test case bytes * times Insert Query once a record and ( 50 * 100 )bytes every record
times Insert
Query
100K bytes =bytes * times
10bytes * 10K 1.154s 1.825s 1K
0.187s 6.240s
100bytes * 1K 0.109s 0.219s 100 0.015s 0.656s
1K * 100 0.000s 0.016s 10 0.063s
10K * 10 5 0.031s
1M bytes=bytes * times
10bytes * 100K 10.218s 18.736s 3 0.016s
100bytes * 10K 1.123s 2.028s 1 0.000s
1K * 1K 0.266s 10K * 100 0.046s 100K * 10 1K bytes * times
1K * 10 0.031s 0.140s 0.281s 1K * 10K 1.108s 2.013s 1K * 100K 11.637s 11.482s 10K bytes * times
0.000s
10K * 1K 0.188s 0.296s 10K * 10K 1.622s 2.745s 100K bytes * times
100K * 100 0.078s 100K * 1K 0.499s 0.936s 100K * 10K 5.788s 9.391s 1M bytes * times
1M * 10 1M * 100 0.422s 0.280s 1M * 1K 3.744s 2.746s 10M bytes * times
10M * 10 0.312s 10M * 100 4.649s 3.198s 100M bytes * times
100M * 1 0.577s 100M * 10 3.292s
原文链接:https://www.f2er.com/sqlite/201463.html

猜你在找的Sqlite相关文章