You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Urko ddee1ecb61
feat: fix report links
8 months ago
benchmark feat: remove hardcoded values 8 months ago
benchmark_report feat: fix report links 8 months ago
cmd feat: rename 8 months ago
config feat: rename 8 months ago
internal feat: rename 8 months ago
pkg feat: improve benchmark 8 months ago
.gitignore refactor: improve benchmark to do both at same time 8 months ago
Dockerfile feat: add Dockerfile 8 months ago
Makefile feat: add readme 8 months ago
README.md fix readme link 8 months ago
docker-compose.yaml feat: initial commit 9 months ago
go.mod refactor etl go: load from byte slice instead of interface 8 months ago
go.sum refactor etl go: load from byte slice instead of interface 8 months ago

README.md

Requirements

To run docker-compose --env-file ./.env up to init your container

To have make installed.

If you don't want to install make you can go to Makefile therefore copy the command then paste and execute in your terminal window.

Report

You can watch my report to see benchmark results

Tests

ETL

To see results you only have to run

make run_etl

http server

To see results you only have to run

make run_etl

Benchmark

http comparision

Start your go http server

go run cmd/server/main.go

Start your nest server

cd ~/nest-project-path
npm start

Then run benchmark

make benchmark_server

other tests

To test different tests done on http server response you can do this way:

First start your http server

make run_server

Then play running different tests:

IMPORTANT Please do mantain your machine without extra running processes

make benchmark_go_1000req_15s

then try

make benchmark_go_1000req

Now try nest server, remember to first startup your nest

make benchmark_nest_1000req_15s
make benchmark_nest_1000req