My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Benchmarks  
Current Benchmark Results
Featured
Updated Sep 15, 2011 by noah.hart@gmail.com

Current Benchmark application

Sep 1, 2011 3.7.7.1 with SQLITE_POOL_MEM

          # Records Inserting Searching Iterating  Deleting
   SQLite    10,000       .1s       .2s       .1s       .1s
C#-SQLite    10,000       .3s       .2s       .1s       .2s
C#/SQLite    10,000      2.3x       .6x       .8x      1.6x
          # Records Inserting Searching Iterating  Deleting
   SQLite    20,000       .2s       .4s       .1s       .2s
C#-SQLite    20,000       .5s       .2s       .1s       .3s
C#/SQLite    20,000      2.3x       .5x       .6x      1.5x
          # Records Inserting Searching Iterating  Deleting
   SQLite    40,000       .4s       .8s       .2s       .3s
C#-SQLite    40,000       .9s       .5s       .1s       .5s
C#/SQLite    40,000      2.3x       .5x       .6x      1.4x
          # Records Inserting Searching Iterating  Deleting
   SQLite    80,000      1.5s      2.5s       .3s      1.5s
C#-SQLite    80,000      3.1s      2.2s       .2s      2.6s
C#/SQLite    80,000      2.0x       .9x       .7x      1.7x
          # Records Inserting Searching Iterating  Deleting
   SQLite   160,000      5.0s      6.3s       .6s      5.0s
C#-SQLite   160,000     10.1s      6.0s       .4s      8.3s
C#/SQLite   160,000      2.0x      1.0x       .7x      1.7x

+-----------------------------------+
| LEGEND:                           |
| SQLite is the native code         |
| C#-SQLite is the ported version   |
| C#/SQLite is ratio of the ported  |
| code to the native. values < 1    |
| indicate where the port is faster |
+-----------------------------------+

Feb 28, 2011 3.7.5 with SQLITE_POOL_MEM

          # Records Inserting Searching Iterating  Deleting
   SQLite   160,000      4.6s      6.1s       .5s      4.6s
C#-SQLite   160,000      9.8s      5.9s       .5s      8.0s
C#/SQLite   160,000      2.1x      1.0x       .9x      1.7x

Jan 20, 2010 Updated to 3.6.22

Larger Databases

# RecordsInsertingSearching 2XIteration 2XDeleting
SQLite1,000,00069.2s59.7s3.9s71.7s
C#-SQLite1,000,000140.3s72.4s3.3s127.2s
C#/SQLite 2.0x1.2x0.9x1.8x

Aug 21, 2009 Updated to 3.6.17

Larger Databases

# RecordsInsertingSearching 2XIteration 2XDeleting
SQLite1,000,00042.8s43.3s3.0s35.5s
C#-SQLite1,000,000116.0s60.0s2.9s89.2s
C#/SQLite 2.7x1.4x1.0x2.5x

Aug 10, 2009 Update

Larger Databases

# RecordsInsertingSearching 2XIteration 2XDeleting
SQLite1,000,000543247823584558
C#-SQLite1,000,000212081336141917661
3.902.791.173.87

Initial Port

Larger Databases

# RecordsInsertingSearching 2XIteration 2XDeleting
SQLite1,000,00055.1349.013.5246.40
C#-SQLite1,000,000222.05140.684.49191.99
4.034.851.274.14

As of the initial release, the SQLite dll version is between 2 and 5 times faster than C#-SQLite depending on the operations

Initial Benchmark Results

All Results are in Rows per Second

Test SQLite3C# SQLite3
Inserts 300K 1300K
Selects 1500K8450K
Updates 60K300K
Deletes 250K700K

Size of the executable

filename C#-SQLite SQLite3
C#-SQLite3.exe 528KB
SQLite3.exe 506KB

Comment by qwertie...@gmail.com, Oct 18, 2011

Is the benchmark using Mono or Microsoft .NET? (important since Mono tends to take 50%-100% longer to do the same tasks.) Results may also change when using an x64 JIT vs x86 JIT.

Comment by project member market.n...@gmail.com, Oct 18, 2011

@qwertie: They are in .Net; If you run them in Mono, let me know what results you find.


Sign in to add a comment
Powered by Google Project Hosting