forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit60cfe25
committed
Adjust spawn_process() to avoid unnecessary overhead processes: we can
just exec instead of creating a subprocess. This reduces process usagefrom four processes per parallel test to two. I have no idea whethera comparable optimization is possible or useful in the Windows port.1 parent87c3129 commit60cfe25
File tree
3 files changed
+28
-23
lines changed- doc/src/sgml
- src/test/regress
3 files changed
+28
-23
lines changedLines changed: 4 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
| 99 | + | |
| 100 | + | |
102 | 101 |
| |
103 |
| - | |
| 102 | + | |
104 | 103 |
| |
105 | 104 |
| |
106 | 105 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
|
Lines changed: 21 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
| |||
630 | 631 |
| |
631 | 632 |
| |
632 | 633 |
| |
633 |
| - | |
634 |
| - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
635 | 648 |
| |
636 | 649 |
| |
637 | 650 |
| |
| |||
648 | 661 |
| |
649 | 662 |
| |
650 | 663 |
| |
651 |
| - | |
| 664 | + | |
652 | 665 |
| |
653 | 666 |
| |
654 | 667 |
| |
| |||
684 | 697 |
| |
685 | 698 |
| |
686 | 699 |
| |
687 |
| - | |
| 700 | + | |
688 | 701 |
| |
689 | 702 |
| |
690 | 703 |
| |
| |||
918 | 931 |
| |
919 | 932 |
| |
920 | 933 |
| |
921 |
| - | |
| 934 | + | |
922 | 935 |
| |
923 | 936 |
| |
924 | 937 |
| |
| |||
938 | 951 |
| |
939 | 952 |
| |
940 | 953 |
| |
941 |
| - | |
| 954 | + | |
942 | 955 |
| |
943 | 956 |
| |
944 | 957 |
| |
| |||
1228 | 1241 |
| |
1229 | 1242 |
| |
1230 | 1243 |
| |
1231 |
| - | |
| 1244 | + | |
1232 | 1245 |
| |
1233 | 1246 |
| |
1234 | 1247 |
| |
| |||
1431 | 1444 |
| |
1432 | 1445 |
| |
1433 | 1446 |
| |
1434 |
| - | |
1435 |
| - | |
1436 |
| - | |
1437 |
| - | |
1438 |
| - | |
1439 |
| - | |
1440 |
| - | |
1441 |
| - | |
1442 | 1447 |
| |
1443 | 1448 |
| |
1444 | 1449 |
| |
|
0 commit comments
Comments
(0)