Skip to content

Instantly share code, notes, and snippets.

@jnmclarty
Last active April 28, 2023 22:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnmclarty/f4ba6cd9809ecabc5db2 to your computer and use it in GitHub Desktop.
Save jnmclarty/f4ba6cd9809ecabc5db2 to your computer and use it in GitHub Desktop.
Redis vs SQLlite In Memory vs SQLite Disk

Redis Results

0.00922203063965

2611-04-18

0.0102469921112

2385-05-21

0.00960993766785

4238-01-20

0.00906085968018

3950-12-24

0.00924897193909

4637-07-02

0.00913095474243

5757-08-01

0.00904417037964

6939-07-06

0.011058807373

7574-12-23

0.00921010971069

4460-09-04

0.00917196273804

7760-05-20

SQLlite In Memory

0.0387229919434

2501-10-12

0.0552680492401

3576-05-27

0.091991186142

2057-12-17

0.124404907227

3448-10-08

0.138411998749

5080-06-29

0.171755075455

5128-01-02

0.212000131607

6705-03-24

0.244334936142

4642-01-22

0.294205904007

4745-03-16

0.315758943558

3958-01-20

(2916826,)

(2000,)

(1024,)

SQLlite On Disk

0.0451641082764

2335-07-19

0.0983180999756

3130-09-26

0.146312952042

4016-06-24

0.193171977997

3383-02-14

0.223114967346

4591-11-27

0.268034934998

4461-04-22

0.356352090836

3063-03-27

0.387696027756

4989-08-09

0.450644016266

5423-10-06

0.482043027878

8378-05-28

(2916826,)

(2000,)

(1024,)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment