Skip to content

Server for measuring times between requests. Live demo available.

Notifications You must be signed in to change notification settings

tuommii/gojastin

Repository files navigation

Build Status CI

gojastin

Gojastin is a server for measuring times between requests: https://timer.miikka.xyz/

The Challenge where i got a inspiration for this project was fun, but validation for solutions seemed far more interesting. So I decided to do my own Proof of Concept. You can read the subject here.

Features

✔️ Live demo
✔️ Uses sync.Pool
✔️ Benchmark testing
✔️ Testing with awesome httptest
✔️ Github actions
✔️ No external libraries
✔️ Useful Makefile
✔️ Azure Pipelines & Docker
✔️ Hosted on DigitalOcean behind nginx

Bechmarks

Function Iterations ns/op B/op allocs/op
without sync.Pool 5351934 218 48 1
with sync.Pool 15951188 75 0 0

More testes by

Running it on local

Docker

Build

docker build . -t gojastin

Run

docker run -p 3030:3030 gojastin

Without docker

Clone:

git clone https://github.com/tuommii/gojastin.git

Test:

make test

Benchmark:

make bench

Build and run:

make

Navigate to http://localhost:3030/

Screenshot

Screenshot

Todo

  • Make real UI

Other

Gopher

About

Server for measuring times between requests. Live demo available.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published