Skip to content

Commit bdac6cf

Browse files
committed
Update/Delete parametrized
1 parent 611cdf5 commit bdac6cf

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ Filter: Small 27070.85 27116.57 136514.49 30522.00 30642.11
166166
Get 2921.97 3400.23 9697.28 2518.40 6708.76 6058.53
167167
Filter: dict 111295.06 65566.31 108630.78 77550.26 — 310991.88
168168
Filter: tuple 117887.18 62290.97 184830.01 311372.67 — 299299.76
169-
Update: Whole 4365.92 6014.68 24658.29 19136.15 12532.03 7968.97
170-
Update: Partial 4885.99 8233.94 36006.27 27262.83 26609.70 12225.90
169+
Update: Whole 4365.92 6014.68 24658.29 19136.15 12532.03 20068.45
170+
Update: Partial 4885.99 8233.94 36006.27 27262.83 26609.70 22945.05
171171
Delete 5558.96 11945.71 52047.84 49570.99 5041.52 26009.84
172-
Geometric Mean 16000.44 16156.55 44507.69 25059.45 10712.2 36476.39
172+
Geometric Mean 16000.44 16156.55 44507.69 25059.45 10712.2 42007.99
173173
=============== ========== ========== ========== ============== ========== ============
174174

175175
=============== ========== ========== ========== ============== ========== ============
@@ -183,10 +183,10 @@ Filter: Small 27703.83 24375.88 128284.49 27720.01 29218.43
183183
Get 2810.24 3264.72 9620.82 2334.32 6151.83 5307.78
184184
Filter: dict 107465.45 61252.71 95343.12 76679.80 — 281425.39
185185
Filter: tuple 115842.06 59139.84 172891.33 289801.64 — 271131.50
186-
Update: Whole 4205.48 5294.68 21767.14 10382.27 13026.00 7434.87
187-
Update: Partial 4715.99 7760.28 29948.49 13110.56 25256.19 11985.46
186+
Update: Whole 4205.48 5294.68 21767.14 10382.27 13026.00 18708.09
187+
Update: Partial 4715.99 7760.28 29948.49 13110.56 25256.19 22909.71
188188
Delete 836.27 11440.77 24384.35 438.16 3574.29 23334.03
189-
Geometric Mean 12751.45 15296.51 36156.71 13320.16 10019.95 29943.66
189+
Geometric Mean 12751.45 15296.51 36156.71 13320.16 10019.95 34539.49
190190
=============== ========== ========== ========== ============== ========== ============
191191

192192
=============== ========== ========== ========== ============== ========== ============
@@ -200,10 +200,10 @@ Filter: Small 12193.81 9320.26 60135.67 11268.28 13222.33
200200
Get 1351.75 1081.68 5437.98 897.60 3515.65 2397.75
201201
Filter: dict 30423.94 22095.08 19898.86 20185.39 — 30944.21
202202
Filter: tuple 33887.30 23198.94 47598.66 45962.52 — 32021.96
203-
Update: Whole 2530.51 1357.36 17452.14 13664.31 11699.44 1645.08
204-
Update: Partial 4265.31 7753.34 23243.89 15668.43 23179.80 11893.87
203+
Update: Whole 2530.51 1357.36 17452.14 13664.31 11699.44 9178.49
204+
Update: Partial 4265.31 7753.34 23243.89 15668.43 23179.80 21221.22
205205
Delete 5424.66 11327.87 38720.29 30191.96 3258.37 24846.55
206-
Geometric Mean 6587.64 6114.99 17951.45 10473.58 6267.33 10582.15
206+
Geometric Mean 6587.64 6114.99 17951.45 10473.58 6267.33 13040.79
207207
=============== ========== ========== ========== ============== ========== ============
208208

209209

@@ -398,5 +398,5 @@ Perf fixes applied
398398
399399
13) **Parametrized delete/update** *(generic)*
400400

401-
| (**2.6-2.8×** speedup for delete operations)
402-
| (14-66% speedup for update operations) (WIP)
401+
| (260-280% speedup for delete operations)
402+
| (300-600% speedup for update operations) https://github.com/tortoise/tortoise-orm/pull/177

0 commit comments

Comments
 (0)