New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

org.quickperf:quick-perf-live

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.quickperf:quick-perf-live

A project for web applications developed with Spring Boot to diagnose performance-related properties (heap allocation, length of database queries, ...) and to generate QuickPerf and functional non-regression tests.

  • 0.12
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

QuickPerf live

A tool to ease your work as a developer, not only regarding performance. Make your developer job easier.


📺 QuickPerf live demo (in French)    @QuickPerf    License    Build Status


Main features

GET 200 http://localhost:8080/owners?lastName=
* [WARNING] N+1 select suspicion - 453 SELECT
GET 200 http://localhost:8080/owners/2/edit
* [WARNING] Heap allocation is greater than 10 000 000 bytes: 17 509 888 bytes

👉 Learn more

💡 You can use the performance diagnostic features during development or to help you diagnose the performance of a deployed application.

Generate non-regression tests

The generated tests ensure a non-regression on:

  • functional behavior
  • performance-related properties

👉 Learn more

Some use cases

You have many things to do or think about in your daily job. You may not have enough time to improve the following issues that would ease your daily job or improve the user experience. QuickPerf live could help you!

You work on an application lacking automated tests on business behavior

Are you not confident that your new development will not break another feature? QuickPerf live allows you to generate automated tests! More here.

You want to fix an N+1 select

QuickPerf live can generate an automatic test reproducing the N+1 select. You can use it to investigate the cause of the N+1 select. The produced test will also ensure non-regression on the absence of N+1 select as well as on the functional behavior.

Your application allocates a lot

QuickPerf live allows you to measure the heap allocation generated by each HTTP call.

You want to know how a web service handles the business data

Finding out what types of business data a web service handles may be challenging. Sometimes, as a developer, we may also be tempted to load more data than necessary to implement a business behavior, potentially impacting performance. In both cases, QuickPerf live can help you by displaying the selected columns from the database (cf. Selected columns part in Database diagnostics), or creating the database dataset of a generated web service test.

Add QuickPerf live to your project

Current limitations

QuickPerf live works today for web applications developed with Spring Boot 2.

Today, we don't recommend enabling the tool in a production environment.

Add QuickPerf live dependency

<dependency>
    <groupId>org.quickperf</groupId>
    <artifactId>quick-perf-live-springboot2</artifactId>
    <version>0.11</version>
</dependency>

Enable QuickPerf live

From a yaml file:

quickperf:
  enabled: true

From a .properties file:

quickperf.enabled=true

Enable QuickPerf live features

Enable the performance diagnostic and test generation features

You can configure the performance diagnostics and the test generation with properties. You can also update the configuration after the application startup with the help of MBeans.

👉 Performance diagnostics

👉 Test generation

Tip

QuickPerf MBeans are unavailable? Read this.

Configuration examples

👉 A yaml file example

👉 A .properties file example

Export QuickPerf live information

Display info on application logs

logging.level.org.quickperf.*=INFO

Implement custom exports

Create Spring beans implementing QuickPerfHttpCallInfoWriter or QuickPerfHttpCallWarningWriter interfaces. You can use this feature to generate a performance diagnostic report or record the history of performance-related properties.

FAQs

Package last updated on 07 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc