Page MenuHomePhabricator

[keyserver] Test combinations of approaches to reducing Ashoat's ThreadStore
ClosedPublic

Authored by ashoat on Sep 29 2023, 1:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 11:55 PM
Unknown Object (File)
Fri, Nov 8, 10:04 PM
Unknown Object (File)
Fri, Nov 8, 10:04 PM
Unknown Object (File)
Fri, Nov 8, 10:01 PM
Unknown Object (File)
Tue, Nov 5, 2:12 AM
Unknown Object (File)
Oct 4 2024, 3:06 PM
Unknown Object (File)
Sep 18 2024, 12:25 PM
Unknown Object (File)
Sep 18 2024, 4:49 AM
Subscribers
None

Details

Summary

This diff stack introduces a script that tests various different approaches to reducing the size of the ThreadStore. We may or may not land it... the goal is just to get some numbers.

Depends on D9340

Test Plan

Run the script:

before reductions, Ashoat's ThreadStore is 74509866 bytes large
after [A] filtering out old sidebars, Ashoat's ThreadStore is 28795130 bytes large
after [B] improving encoding, Ashoat's ThreadStore is 11379070 bytes large
after [C] introducing isAdminRole, Ashoat's ThreadStore is 14839491 bytes large
after [D] introducing ThreadRolePermissionsStore, Ashoat's ThreadStore is 5640441 bytes large
after [A] and [B], Ashoat's ThreadStore is 5711706 bytes large
after [A] and [C], Ashoat's ThreadStore is 10047103 bytes large
after [A] and [D], Ashoat's ThreadStore is 3064171 bytes large
after [B] and [C], Ashoat's ThreadStore is 6993311 bytes large
after [B] and [D], Ashoat's ThreadStore is 5632940 bytes large
after [C] and [D], Ashoat's ThreadStore is 5640402 bytes large
after [A], [B], and [C], Ashoat's ThreadStore is 4121983 bytes large
after [A], [B], and [D], Ashoat's ThreadStore is 3058364 bytes large
after [A], [C], and [D], Ashoat's ThreadStore is 3064132 bytes large
after [B], [C], and [D], Ashoat's ThreadStore is 5632901 bytes large
after [A], [B], [C], and [D], Ashoat's ThreadStore is 3058325 bytes large

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable