Commit Graph

165 Commits

Author SHA1 Message Date
levlam
eb89f8b35f Minor include fixes. 2022-03-12 00:50:04 +03:00
levlam
07bb129653 Move FlatHashTable implementation to FlatHashTable.h. 2022-03-09 18:03:56 +03:00
levlam
8b897c7c5f Move MapNode and SetNode to separate classes. 2022-03-09 16:29:47 +03:00
levlam
b2e6da4031 Unify actor_id/actor_shared names. 2022-03-05 14:35:19 +03:00
levlam
1f12b0d8e8 Allow folly usages only if TD_TEST_FOLLY is defined. 2022-02-23 15:01:53 +03:00
levlam
94289c0c9e Fix SCOPE_EXIT redefinition. 2022-02-18 23:25:23 +03:00
Arseny Smirnov
34a69e3133 FlatHashMap: add implementation with chunks 2022-02-17 19:40:18 +01:00
levlam
512c0cd3c2 Fix formatting. 2022-02-12 00:48:35 +03:00
Arseny Smirnov
ecceb51881 FlatHashSet 2022-02-11 17:41:40 +01:00
levlam
5b4bea1fef Add HashMap build time benchmark. 2022-02-11 14:46:30 +03:00
levlam
6ae2096d68 Fix HashSet benchmark. 2022-02-11 11:26:58 +03:00
levlam
b8ab910b81 Various improvements. 2022-02-10 23:01:28 +03:00
Arseny Smirnov
987e875520 FlatHashMap: support mem_stat->rss in memory benchmark; move memory benchmark in other folder, fix build. 2022-02-10 18:33:23 +01:00
levlam
ca2cf957b0 check_tls: use static buffer. 2022-01-13 18:14:40 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
93e9e36dfb Remove unused mutex. 2021-12-31 09:45:37 +03:00
levlam
6941a4500a Support deletion from database messages by sender_dialog_id. 2021-11-19 16:00:21 +03:00
levlam
aa9f63acfe Workaround https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480. 2021-12-01 15:20:33 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
00cea653bf Improve includes. 2021-11-09 19:02:01 +03:00
levlam
8c3d9a7710 Move benchmarks out of namespace td. 2021-11-06 23:45:02 +03:00
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
6a5b0506e5 Split Actor.is_lite to need_context and need_start_up. 2021-11-03 15:10:43 +03:00
levlam
ffa48e523a Add Actor life cycle benchmark. 2021-11-03 14:18:16 +03:00
levlam
c66cf3dec6 Use range-based for on arrays/strings if possible. 2021-11-01 01:24:51 +03:00
levlam
377bd18909 Pass BufferedFd to HttpConnection. 2021-10-27 20:29:01 +03:00
levlam
a68d8e77ef Improve bench_queue. 2021-10-27 00:23:30 +03:00
levlam
f7d073baa4 Fix building with TD_EVENTFD_UNSUPPORTED. 2021-10-25 01:46:39 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
44a186c7c1 Minor improvements. 2021-10-18 19:26:14 +03:00
levlam
0782f56408 Use uint32 instead of unsigned int if possible. 2021-10-17 22:56:40 +03:00
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +03:00
levlam
f073c790c5 Make DbKey required to construct SqliteConnectionSafe. 2021-09-22 17:20:10 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
41c391f140 Update layer to 133. 2021-09-03 12:27:59 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
ddb3c56ddb Add one more MessageIdDuplicateChecker benchmark. 2021-08-23 11:17:25 +03:00
levlam
6507fb7602 Use array-based MessageIdDuplicateChecker. 2021-08-22 22:08:46 +03:00
levlam
e66ee3eeae Add check for code 2. 2021-08-22 11:47:57 +03:00
levlam
7b3f60ea85 Fix warning. 2021-08-22 11:01:49 +03:00
levlam
d6679a0179 Add even more DuplicateChecker benchmarks. 2021-08-22 10:59:50 +03:00
levlam
a2f3c4c788 Add array-based duplicate checker to benchmark. 2021-08-22 10:49:40 +03:00
levlam
f9b71104d4 Add DuplicateChecker benchmark with repeated message_id. 2021-08-22 10:25:11 +03:00
levlam
e0f80ca008 Add DuplicateChecker benchmark. 2021-08-22 09:39:43 +03:00
levlam
5b6e2d2c90 Add ThreadSafeCounter benchmark. 2021-08-18 19:26:03 +03:00
levlam
53912a8b52 Move bench_misc out of namespace td. 2021-08-18 18:22:41 +03:00
levlam
040e0deb31 Move DhCallback to a separate header. 2021-07-05 21:20:07 +03:00
levlam
61664b4044 Move remaining MTProto classes to namespace mtproto. 2021-07-05 21:04:23 +03:00