An open API service indexing awesome lists of open source software.

https://github.com/btargac/perfanalyzer


https://github.com/btargac/perfanalyzer

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

This project consists of three different packages combined in a monorepo structure;

Api, Client and Dashboard.

![CI](https://github.com/btargac/perfanalyzer/workflows/CI/badge.svg)

# @perfanalyzer/api

A Nodejs - Expressjs based metrics API for both collecting data from client's browsers and serving collected data
- uses mongoose mongo adapter to db query and crud operations
- tested for heavy loads on local with `wrk -t8 -c8 -d20s` a cli tool and average 600 RPS with a local mongo db setup with startDate and endDate values

### Available Scripts in api folder
- build: generate a minified production version of the app, ready to run with node
- build:analyze: generate the production output and analyze what was included to distribution
- start: start webpack to watch and build a bundled version of app, which then can be run with `nodemon ./dist/server.js`

# @perfanalyzer/client

A utility library that collects metrics like TTFB, FCP, DCL, LOAD and Network Timing data for static assets

### Available Scripts in client folder
- build: generate a minified production version of the client library, ready to run in a browser like