Bulk inserting performance #70
Replies: 3 comments 2 replies
-
I've been working on improving the performance past week, almost ready to commit - one issue still needs to be ironed out. I wonder what your stats will look after those updates! |
Beta Was this translation helpful? Give feedback.
-
I've updated to version 1.15.0, you should notice significant performance improvements on these tests. Can you update and run them again? Would love to see new results 😄 |
Beta Was this translation helpful? Give feedback.
-
Excluding the query perfs. The bulk insert with or without index improved. Unlike before that it was like proportional based on the stored collection + inserts. Repetition of Bulk inserting now with the same amount (2000 in my case) improved. Bulk Insert Before * 3 reps
Bulk Inser @v1.15.0 * 3 reps
|
Beta Was this translation helpful? Give feedback.
-
OS: Windows 10 64bit
RAM: 8gb
STORAGE: 128gb SSD M.2
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz 1.99 GHz
---------------------------------First run---------------------------------
Insert Non-indexed
√ (767ms)
Insert Indexed
√ (4727ms)
Get count of child (non-indexed)
Childs: 2000
√ (345ms)
Get count of child (indexed)
Childs: 2000
√ (39ms)
Non-Indexed instance.ref Foreach performance
√ (800ms)
Indexed instance.ref Foreach performance
√ (740ms)
Non-Indexed Query Foreach performance
√ (924ms)
Indexed Query Foreach performance
√ (676ms)
8 passing (9s)
---------------------------------Second run---------------------------------
Insert Non-indexed
√ (13152ms)
Insert Indexed
√ (23780ms)
Get count of child (non-indexed)
Childs: 4000
√ (667ms)
Get count of child (indexed)
Childs: 4000
√ (87ms)
Non-Indexed instance.ref Foreach performance
√ (1434ms)
Indexed instance.ref Foreach performance
√ (1369ms)
Non-Indexed Query Foreach performance
√ (1644ms)
Indexed Query Foreach performance
√ (1261ms)
8 passing (43s)
---------------------------------Thrid run---------------------------------
Insert Non-indexed
√ (15832ms)
Insert Indexed
√ (29385ms)
Get count of child (non-indexed)
Childs: 6000
√ (888ms)
Get count of child (indexed)
Childs: 6000
√ (100ms)
Non-Indexed instance.ref Foreach performance
√ (2238ms)
Indexed instance.ref Foreach performance
√ (2083ms)
Non-Indexed Query Foreach performance
√ (2672ms)
Indexed Query Foreach performance
√ (2007ms)
8 passing (55s)
Does update works like transaction where it loads all props then does the update stuff?
See Test Code
Beta Was this translation helpful? Give feedback.
All reactions