Commit 2aca4d1
committed
psql-srv: Use optimized date+time encoding
This commit replaces our usage of chrono's `format()` methods with our
handwritten optimized encoding algorithms in psql-srv in the code we use
to encode rows before sending them over the wire. This significantly
improves warm read time for queries that include timestamps in their
result sets.
Release-Note-Core: Significantly improved warm read performance for
certain queries that return timestamps
Change-Id: I4b1158b20d9052bae204b6b1584b6020d8fd504a
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7221
Reviewed-by: Luke Osborne <luke@readyset.io>
Tested-by: Buildkite CI1 parent 870b8b8 commit 2aca4d1
3 files changed
+7
-40
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
647 | 644 | | |
648 | 645 | | |
649 | 646 | | |
650 | | - | |
| 647 | + | |
651 | 648 | | |
652 | 649 | | |
653 | 650 | | |
654 | 651 | | |
655 | | - | |
| 652 | + | |
656 | 653 | | |
657 | 654 | | |
658 | | - | |
| 655 | + | |
659 | 656 | | |
660 | 657 | | |
661 | | - | |
| 658 | + | |
662 | 659 | | |
663 | 660 | | |
664 | 661 | | |
| |||
1644 | 1641 | | |
1645 | 1642 | | |
1646 | 1643 | | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | | - | |
1663 | 1644 | | |
1664 | 1645 | | |
1665 | 1646 | | |
| |||
1735 | 1716 | | |
1736 | 1717 | | |
1737 | 1718 | | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | 1719 | | |
0 commit comments