GithubHelp home page GithubHelp logo

yisaer / benchmark-operator Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 107 KB

Do the benchmark job on Kubernetes for many applications.

Dockerfile 1.91% Makefile 3.93% Go 70.65% Shell 23.51%
benchmark kubernetes operator

benchmark-operator's People

Contributors

longfangsong avatar yisaer avatar zhoudian64 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

zhoudian64

benchmark-operator's Issues

Use scripts to automatically check and add end-of-line.

Is your feature request related to a problem? Please describe.
It's very easy to forget add an end-of-line at the end of each file. Scripts should be used to do these things. Especially after the CI is ready.

Describe the solution you'd like

Use a script to check end-of-line at the end of file in CI.

Also use a script to fix these kind of problems automatically. (And make fmt should run this script.)

Describe alternatives you've considered
I think we can use tidb-operators' update-EOF script and tidb-operators' check-EOF script directly.

Use scripts to automatically check and add end-of-line. [Feature]

Is your feature request related to a problem? Please describe.
It's very easy to forget add an end-of-line at the end of each file. Scripts should be used to do these things. Especially after the CI is ready.

Describe the solution you'd like

Use a script to check end-of-line at the end of file in CI.

Also use a script to fix these kind of problems automatically. (And make fmt should run this script.)

Describe alternatives you've considered
I think we can use tidb-operators' update-EOF script and tidb-operators' check-EOF script directly.

Unit test

Is your feature request related to a problem? Please describe.
Currently, make test would fail when running, and I commented it out in pull request #27, because the default tests kubebuilder gave us is not applicable.

Describe the solution you'd like
Write applicable unit tests.

Clean db after test

Currently the database remains it's current state after benchmark.
Consider use runDatabaseDestroy.sh to destroy the database to make run multiple tests one-by-one easier.

Make tpccbench test support tidbcluster

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

To make tpccbench API easier integrated with tidbcluster, we should make API expose more tidbcluster meta property.

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.