pyorha

module
v0.0.0-...-ad7c2d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2023 License: Apache-2.0

README

Pyorha

Pyorha (별하) is static serving tooling

Usage

  • Next.js
$npx next build
$npx next export
$pyorha build ./out out
$pyorha serve out

Build

$go build ./cmd/pyorha

Requirement

  • go1.19
  • gcc

Performance

$gobench -u http://localhost:3000 -k=true -c 500 -t 10
  • next.js + Pyorha static serving (Hello World website)
Requests:                          2329810 hits
Successful requests:               2329810 hits
Network failed:                          0 hits
Bad requests failed (!2xx):              0 hits
Successful requests rate:             3222 hits/sec
Read throughput:                  14133681 bytes/sec
Write throughput:                   277191 bytes/sec
Test time:                             723 sec
  • next.js + echo static serving (Hello World website)
Requests:                          1826186 hits
Successful requests:               1826186 hits
Network failed:                          0 hits
Bad requests failed (!2xx):              0 hits
Successful requests rate:             2536 hits/sec
Read throughput:                   3748754 bytes/sec
Write throughput:                   218187 bytes/sec
Test time:                             720 sec
File Size
  • next.js + Pyorha static serving (Hello World website)

128KB

  • next.js + echo static serving (Hello World website)

375KB

Directories

Path Synopsis
cmd
internal
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL