[sqlite] Why SQLite take lower performance in multi-thread SELECTing?

2015-10-31 Thread Richard Hipp
On 10/30/15, sanhua.zh wrote: > Hi, all > I use SQLite in iOS. I found that SQLite will take lower performancein > multi-thread SELECTing. > Here is my test result, > It costs 0.11s to select 100, elements,in 1-thread SELECTing: > But the sameIn 4-thread SELECTing, it costs 0.2s avg. > > >

[sqlite] Why SQLite take lower performance in multi-thread SELECTing?

2015-10-30 Thread sanhua.zh
Hi, all I use SQLite in iOS. I found that SQLite will take lower performancein multi-thread SELECTing. Here is my test result, It costs 0.11s to select 100, elements,in 1-thread SELECTing: But the sameIn 4-thread SELECTing, it costs 0.2s avg. This test run on iPhone 6s. You can see that