Jira (PDB-4772) Setup basic perf tests

0 views
Skip to first unread message

Zachary Kent (Jira)

unread,
Jun 4, 2020, 4:03:03 PM6/4/20
to puppe...@googlegroups.com
Zachary Kent created an issue
 
PuppetDB / New Feature PDB-4772
Setup basic perf tests
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2020/06/04 1:02 PM
Priority: Normal Normal
Reporter: Zachary Kent

We will need a script that can run periodically via cron (nightly?) which will:

    - Keep track of the sha of the last build it tested in a file

    - Checkout the pdb repo and compare the tip commit with last tested, if diff run tests

    - Run a/b tests with the different versions of pdb and report results via email/slack. (possibly only report on tests if perf diff is over a certain threshold)

    - Tests could be as simple as running queries stored in a file via curl while tracking the query time. (may want to consider running queries multiple times in random order and taking average time of query)

    - At first use a couple of queries that have caused issues in the past. (possibly audit the console and add the built-in queries it uses)

 

Additional considerations: 

    - Make sure data doesn't get gc'd when pdb starts. Either increase node-ttl or adjust timestamps to far in the future in PDB-4771

    - Check that skewed timestamps don't cause results to be excluded in query engine

    - We may want to consider using cgroups to limit the available ram PG has access to when running tests for more realistic results 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Zachary Kent (Jira)

unread,
Jun 4, 2020, 4:04:03 PM6/4/20
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
We will need a script that can run periodically via cron (nightly?) which will:

    - Keep track of the sha of the last build it tested in a file

    - Checkout the pdb repo and compare the tip commit with last tested, if diff run tests

    - Run a/b tests with the different versions of pdb and report results via email/slack. (possibly only report on tests if perf diff is over a certain threshold)

    - Tests could be as simple as running queries stored in a file via curl while tracking the query time. (may want to consider running queries multiple times in random order and taking average time of query)

    - At first use a couple of queries that have caused issues in the past. (possibly audit the console and add the built-in queries it uses)

 

Additional considerations: 

    - Make sure data doesn't get gc'd when pdb starts. Either increase node-ttl or adjust timestamps to be far in the future in PDB-4771


    - Check that skewed timestamps don't cause results to be excluded in query engine

    - We may want to consider using cgroups to limit the available ram PG has access to when running tests for more realistic results 

 

 

Zachary Kent (Jira)

unread,
Jun 4, 2020, 4:04:03 PM6/4/20
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Epic Link: PDB-4770

Zachary Kent (Jira)

unread,
Jan 5, 2021, 3:53:03 PM1/5/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Story Points: 5 8

Zachary Kent (Jira)

unread,
Jan 5, 2021, 3:53:04 PM1/5/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
 
PuppetDB / New Feature PDB-4772
Setup basic perf tests
Change By: Zachary Kent
Story Points: 5

Zachary Kent (Jira)

unread,
Mar 17, 2021, 6:52:03 PM3/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Set up basic perf tests
Change By: Zachary Kent
Summary: Setup Set up basic perf tests

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:59:39 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages