Coder Social home page Coder Social logo

quarkus-startstop's People

Contributors

dependabot[bot] avatar fedinskiy avatar jedla97 avatar johnaohara avatar jsmrcka avatar karm avatar kshpak avatar michalvavrik avatar mjurc avatar mocenas avatar rsvoboda avatar rutzzzz avatar sgitario avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quarkus-startstop's Issues

Introduce COLD start mode for StartStopTest

Introduce COLD start mode for StartStopTest when the system caches are dropped before every Quarkus command execution

Details by Francesco Nigro:
Francesco Nigro: Hi!
Francesco Nigro: I'm currently running some experiment with hibernate + quarkus with a large JPA model
Francesco Nigro: I remember you have your own repo with the test run to check regressions
Francesco Nigro: for my tests I'm prepending this one

Francesco Nigro:
sync && sudo sh -c "echo 1 > /proc/sys/vm/drop_caches" && <quarkus app cmd>
that's making results much more predictable

Francesco Nigro: although obviously slower
Francesco Nigro: because will force the OS to release all OS page cache entries (including JVM shared libraries and class files previously read)
Francesco Nigro: but for your use case I think is better to be more deterministic then have faster results that won't happen in the real world
Francesco Nigro: (because in the real world you won't keep on restarting the same app over and over without doing anything more)

Rostislav Svoboda: caches drop can be applied before running the TS or it should be done before running every quarkus app command from the TS?

Francesco Nigro: before every each run of the quarkus app in theory
Francesco Nigro: because when you run it you populate the page cache with data
Francesco Nigro: and that will be used to speedup next time the startup
Francesco Nigro: but COLD startup requires everything to be uncached
Francesco Nigro: It could be another "mode" to run the same test i.e. let's call it "COLD" startup test
Francesco Nigro: I would keep it TBH, because is really much more realistic

Rostislav Svoboda: That cold startup mode would be Linux specific case with root/sudo. I would prefer either a specific switch or a new test.

Consider new scenario with Hibernate for StartStopTest

Consider new scenario with Hibernate for StartStopTest,

ATM we cover jaxrs application + full micproprofile application.

Hibernate on the other hand brings in the need for DB and that can complicate the portability and our setup in perf lab.

Create a "What I did" markdown report ready for a GitHub issue

The TS spits out various information, e.g. measurements, logs, maven commands and their parameters used etc.

When you are forming a report, you need to concatenate .csv files, correlate them with maven commands the TS wrote to log etc.

The TS should be able to form a "What I did" markdown report for each test, e.g. :

  • maven command used
  • measurements
  • versions info

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.