Skip to content

Add benchmark tests for Windows tables #2182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1c8c5da
Basic benchmark for ProgramIcons
RebeccaMahany Mar 26, 2025
abc811e
Benchmark for kolide_dsim_default_associations
RebeccaMahany Mar 26, 2025
7b80e2d
Add benchmark for Windows update tables
RebeccaMahany Mar 26, 2025
68766bd
B.Loop()
RebeccaMahany Mar 26, 2025
3ebe518
b.N actually
RebeccaMahany Mar 26, 2025
9dcc340
Consolidate into one test file
RebeccaMahany Mar 26, 2025
b2ad650
Add constraints for wmi test
RebeccaMahany Mar 26, 2025
afa0d7d
Fix
RebeccaMahany Mar 26, 2025
7a67cec
Fix again
RebeccaMahany Mar 26, 2025
0935a2a
Capture memstats before and after calling each table
RebeccaMahany Mar 26, 2025
9795b70
Better stats reporting
RebeccaMahany Mar 26, 2025
c0f5488
The rest of the tables
RebeccaMahany Mar 26, 2025
b055249
More stats more improvements
RebeccaMahany Mar 26, 2025
fdc1b99
More stats more improvements 2
RebeccaMahany Mar 26, 2025
09291bc
More stats more improvements 3
RebeccaMahany Mar 26, 2025
59f7ddf
More stats more improvements 4
RebeccaMahany Mar 26, 2025
897306b
Timeout should be 4min for accuracy
RebeccaMahany Mar 26, 2025
c5be5b3
memprofile for diff
RebeccaMahany Mar 26, 2025
d34a36e
Try estimating go/non-go memory usage
RebeccaMahany Mar 26, 2025
df19db2
More table calls
RebeccaMahany Mar 26, 2025
3e7fa84
Wrong spot for t.Parallel
RebeccaMahany Mar 26, 2025
e7e427c
Immediately changed my mind about t.Parallel
RebeccaMahany Mar 26, 2025
6fdcaf5
More platform tables plus collect stats after each table
RebeccaMahany Mar 27, 2025
4534fe7
Test just for the windows updates table
RebeccaMahany Mar 27, 2025
4f98df4
Try history table
RebeccaMahany Mar 27, 2025
f67ea90
Smaller batches, more data
RebeccaMahany Mar 27, 2025
f609a06
rm unused test
RebeccaMahany Mar 27, 2025
94da719
New test for windowsupdate
RebeccaMahany Mar 28, 2025
17d7c5b
More granular
RebeccaMahany Mar 28, 2025
42ff567
again
RebeccaMahany Mar 28, 2025
9e2a8fc
3
RebeccaMahany Mar 28, 2025
f94554a
4
RebeccaMahany Mar 28, 2025
47f4884
5
RebeccaMahany Mar 28, 2025
b7c8c15
Clear memory after use
RebeccaMahany Mar 28, 2025
c98ac5a
wait
RebeccaMahany Mar 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading