Created
October 27, 2023 18:19
-
-
Save Ashoat/b871afaaaee10b435b8676175d120d53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEFORE | |
LOG useChatMentionSearchIndex took 1801ms | |
LOG useChatMentionSearchIndex took 1748ms | |
LOG useChatMentionSearchIndex took 1730ms | |
LOG useChatMentionSearchIndex took 1831ms | |
AVERAGE 1777.5ms | |
AFTER | |
LOG useChatMentionSearchIndex took 1714ms | |
LOG useChatMentionSearchIndex took 1440ms | |
AVERAGE 1577ms | |
AFTER AGAIN | |
LOG useChatMentionSearchIndex took 1394ms | |
LOG useChatMentionSearchIndex took 1468ms | |
LOG useChatMentionSearchIndex took 1511ms | |
LOG useChatMentionSearchIndex took 1492ms | |
LOG useChatMentionSearchIndex took 1397ms | |
AVERAGE 1452.4ms | |
Simplify tokenization | |
(1116 + 1161 + 1111 + 1125) / 4 = 1,128.25 | |
JUST DEDUP | |
1027ms. | |
949ms. | |
957ms. | |
average 977.6666666667 | |
+ trie | |
643ms. | |
629ms. | |
651ms. | |
609ms. | |
average 633 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment