Repository navigation
Commit 04ef183
committed
test(query_namespaces): de-flake parallel-vs-serial perf assertion
With ~35 ms queries and http2=False, the first parallel fan-out has to
open ~N concurrent TCP+TLS connections — handshake overhead, plus any
single tail-latency outlier blowing out max(times), regularly inverts
serial-sum vs parallel-max. Warm the pool with a throwaway
query_namespaces() call, take the min of 3 sample pairs, and loosen
the ratio threshold from 0.60 to 0.75. Parallelism is still
meaningfully proven; CI variance no longer masquerades as a regression.1 parent bf616c7 commit 04ef183
2 files changed
Lines changed: 70 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
772 | 785 | | |
773 | 786 | | |
| 787 | + | |
774 | 788 | | |
775 | 789 | | |
776 | 790 | | |
| |||
787 | 801 | | |
788 | 802 | | |
789 | 803 | | |
790 | | - | |
791 | | - | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
792 | 808 | | |
793 | 809 | | |
794 | | - | |
| 810 | + | |
795 | 811 | | |
796 | 812 | | |
797 | 813 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
850 | 865 | | |
851 | 866 | | |
| 867 | + | |
852 | 868 | | |
853 | 869 | | |
854 | 870 | | |
| |||
865 | 881 | | |
866 | 882 | | |
867 | 883 | | |
868 | | - | |
869 | | - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
870 | 888 | | |
871 | 889 | | |
872 | | - | |
| 890 | + | |
873 | 891 | | |
874 | 892 | | |
875 | 893 | | |
| |||
0 commit comments