sqlite 性能 | 您所在的位置:网站首页 › 唐山地震死亡人数是多少人啊知乎 › sqlite 性能 |
苹果M1 mac电脑发售有一段时间,已经有多个性能测试软件对M1进行了测试,苹果M1跑分不俗。在geekbench上M1 Mac电脑甚至已经登顶Mac单核性能榜首。 那么在真实的编程环境中,M1 mac电脑的表现如何?本文测试测试苹果M1 Mac电脑在sqlite数据库中的实际表现。 测试硬件 苹果 M1 Mac mini :8核16G组装台式机:AMD Ryzen 3900X,12核32G16寸 Macbook pro:Intel i9-9750H 6核16G SQLite-bench本文采用sqlite-bench测试sqlite的性能。 sqlite-bench是一款开源sqlite数据库测试工具,源代码地址https://github.com/ukontainer/sqlite-bench 测试项目包括 fillseq write N values in sequential key order in async mode fillseqsync write N/100 values in sequential key order in sync mode fillseqbatch batch write N values in sequential key order in async mode fillrandom write N values in random key order in async mode fillrandsync write N/100 values in random key order in sync mode fillrandbatch batch write N values in random key order in async mode overwrite overwrite N values in random key order in async mode fillrand100K write N/1000 100K values in random order in async mode fillseq100K wirte N/1000 100K values in sequential order in async mode readseq read N times sequentially readrandom read N times in random order readrand100K read N/1000 100K values in sequential order in async mode单位micros/op,越少越好 单位micros/op,越少越好 令人意外的是M1 mac电脑没有延续在python和java性能测试上的强势,而AMD 3900X在8个项目上领先,只有4个项目输给了苹果 M1 Mac mini,为X86 CPU挽回了颜面,扳回了一局。 java和python的测试可以看T锅侠的另外两篇评测 《苹果M1电脑真实编程测试之python篇-60个项目最全测试》 《苹果M1 mac电脑真实编程测试之java篇》 |
CopyRight 2018-2019 实验室设备网 版权所有 |