Giter VIP home page Giter VIP logo

Comments (4)

Fly-Style avatar Fly-Style commented on May 12, 2024

I just have started make a simple performance tests, using Confess.js and YSlow which are running by PhantomJS.
Now I need you to approve these tools, and discuss the concrete benchmarks.

from korolev.

fomkin avatar fomkin commented on May 12, 2024

@Fly-Style these tools about estimation of the quality of page. Not about testing server performance. It's suitable for regression testing of large code base in the projects. In our case we should count speed of server answers on a high load.

I suppose testing scenario should be like that:

  1. We have to deploy an app wich has enough complexity to the target server.
  2. The app already contains a js which can emulate user behavior. It counts the latency on each interaction. Finally it sends all collected metrics to phntomjs callback. You can take any framework from this list but I not sure they they are suitable for our case because of Korolev asynchronous nature.
  3. PhantomJS script opens 1000 instances of the page and waits for client metrics. Then report received, phantom closes page and append report to a CSV file.
  4. Some script takes CVSs, makes aggregation, and generates pretty HTML with charts and tables.

from korolev.

fomkin avatar fomkin commented on May 12, 2024

Proposal (Draft)

Korolev needs performance benchmarks to track regressions. Performance benchmarks should be run manually after the new feature is merged to develop branch.

Solution

We will use HTTP/WebSocket client to connect to korolev-server. After WebSocket connection is established test should emulate client behavior during initialization. When it should send user events (clicks) and track server reaction time. Metrics to collect:

  1. Min reaction time
  2. Max reaction time
  3. Median reaction time

from korolev.

fomkin avatar fomkin commented on May 12, 2024

Current implementation is slow.

from korolev.

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.