Commit 370ef9c
authored
chore: reduce frequency of clock invocations (#5946)
Partially addresses #5942 as now squashing transactions read clock only once.
Moreover for most transactions we called clock twice - in the c'tor and during scheduling.
This change removes the scheduling override unless transaction is repeated.
Signed-off-by: Roman Gershman <[email protected]>1 parent cf4d08d commit 370ef9c
File tree
5 files changed
+17
-8
lines changed- src/server
5 files changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
964 | 967 | | |
965 | 968 | | |
966 | 969 | | |
| |||
1898 | 1901 | | |
1899 | 1902 | | |
1900 | 1903 | | |
| 1904 | + | |
1901 | 1905 | | |
1902 | 1906 | | |
1903 | 1907 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3886 | 3886 | | |
3887 | 3887 | | |
3888 | 3888 | | |
3889 | | - | |
| 3889 | + | |
3890 | 3890 | | |
3891 | 3891 | | |
3892 | 3892 | | |
| |||
3908 | 3908 | | |
3909 | 3909 | | |
3910 | 3910 | | |
3911 | | - | |
| 3911 | + | |
3912 | 3912 | | |
3913 | 3913 | | |
3914 | 3914 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2808 | 2808 | | |
2809 | 2809 | | |
2810 | 2810 | | |
2811 | | - | |
2812 | | - | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
2813 | 2815 | | |
2814 | 2816 | | |
2815 | 2817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| 602 | + | |
602 | 603 | | |
603 | 604 | | |
604 | | - | |
| 605 | + | |
| 606 | + | |
605 | 607 | | |
606 | 608 | | |
607 | 609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
| 546 | + | |
545 | 547 | | |
546 | 548 | | |
547 | 549 | | |
| |||
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
755 | | - | |
756 | | - | |
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| |||
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| 831 | + | |
831 | 832 | | |
832 | 833 | | |
833 | 834 | | |
| |||
0 commit comments