forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfccaf25
committed
Shave some cycles off subscription/t/100_bugs.pl tests.
We can re-use the clusters set up for this test script's first test,instead of generating new ones. On my machine this is good forabout a 20% reduction in this script's runtime, from ~6.5 sec to~5.2 sec.This idea could be taken further, but it'd require a much more invasivepatch. These cases are easy because the Perl variable names werealready being re-used.Anton A. MelnikovDiscussion:https://postgr.es/m/eb7aa992-c2d7-6ce7-4942-0c784231a362@inbox.ru1 parent8e1db29 commitfccaf25
1 file changed
+20
-9
lines changedLines changed: 20 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 |
| |
73 | 78 |
| |
74 | 79 |
| |
| |||
81 | 86 |
| |
82 | 87 |
| |
83 | 88 |
| |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
87 | 95 |
| |
88 | 96 |
| |
89 | 97 |
| |
| |||
102 | 110 |
| |
103 | 111 |
| |
104 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
105 | 116 |
| |
106 | 117 |
| |
| 118 | + | |
107 | 119 |
| |
108 | 120 |
| |
109 | 121 |
| |
| |||
226 | 238 |
| |
227 | 239 |
| |
228 | 240 |
| |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 | 241 |
| |
233 |
| - | |
234 |
| - | |
235 |
| - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
236 | 247 |
| |
237 | 248 |
| |
238 | 249 |
| |
|
0 commit comments
Comments
(0)