Code Monkey home page Code Monkey logo

Comments (4)

vinaysshenoy avatar vinaysshenoy commented on June 11, 2024 1

Looks great, a few questions to understand the approach better:

* Are real world app performance tests called benchmark tests?

Benchmarking is typically used in the industry to test performance of libraries, frameworks, etc. Just following that convention here.

* Under setting up benchmark data, `INSERT AND UPDATE` are going to happen regardless, because both of these are a huge part. Why is syncing again not ideal? The dataset will run all over again after syncing and that is a problem, why?

Syncing data from Sandbox will take a lot of time (~30m), so ideally we don't want to do it over and over again for every test. Backing up and restoring the data between test runs will be faster.

* If we backup and restore the dataset with no sync, are we sure we'll never receive a regression with syncing after data update because with the current approach this use case will not be included

In the sense? The regression is something we track not over a single test run, but over multiple test runs. We would want to see degraded performance of a query over a couple of days along with a significant difference in query performance before we label it as a regression. I am not sure if you were referring to something else.

from simple-android.

msasikanth avatar msasikanth commented on June 11, 2024

The proposal is looking good @vinaysshenoy . Having a base class for benchmark tests seems the easiest option, compared to having a lint rule for it.

from simple-android.

Honey14 avatar Honey14 commented on June 11, 2024

Looks great, a few questions to understand the approach better:

  • Are real world app performance tests called benchmark tests?
  • Under setting up benchmark data, INSERT AND UPDATE are going to happen regardless, because both of these are a huge part. Why is syncing again not ideal? The dataset will run all over again after syncing and that is a problem, why?
  • If we backup and restore the dataset with no sync, are we sure we'll never receive a regression with syncing after data update because with the current approach this use case will not be included

from simple-android.

Honey14 avatar Honey14 commented on June 11, 2024

In the sense? The regression is something we track not over a single test run, but over multiple test runs. We would want to see degraded performance of a query over a couple of days along with a significant difference in query performance before we label it as a regression. I am not sure if you were referring to something else.

The second answer clarifies it, thanks.

from simple-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.