Skip to content

πŸ€ Demo application of FrankenPHP (@dunglas) based on Nette Framework (@nette) by @f3l1x.

License

Notifications You must be signed in to change notification settings

contributte/demo-frankenphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Website πŸš€ contributte.org | Contact πŸ‘¨πŸ»β€πŸ’» f3l1x.io | Twitter 🐦 @contributte



Goal

Demo of FrankenPHP with Nette Framework.

Installation

You will need PHP 8.2+ and Composer.

Create project using composer.

composer create-project -s dev contributte/demo-frankenphp acme

Now you have application installed. It's time to run it.

Startup

Spin up Docker stack. FrankenPHP with Caddyserver.

docker compose up

Then visit http://localhost:8080 in your browser.

List of URL's:

Benchmark

➜ hey -n 200 -c 100 http://localhost:8080/

Summary:
  Total:	0.0526 secs
  Slowest:	0.0512 secs
  Fastest:	0.0010 secs
  Average:	0.0228 secs
  Requests/sec:	3804.3427


Response time histogram:
  0.001 [1]	|β– 
  0.006 [69]	|β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– 
  0.011 [26]	|β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– 
  0.016 [4]	|β– β– 
  0.021 [0]	|
  0.026 [0]	|
  0.031 [0]	|
  0.036 [16]	|β– β– β– β– β– β– β– β– β– 
  0.041 [43]	|β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– 
  0.046 [14]	|β– β– β– β– β– β– β– β– 
  0.051 [27]	|β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– β– 


Latency distribution:
  10% in 0.0016 secs
  25% in 0.0030 secs
  50% in 0.0346 secs
  75% in 0.0386 secs
  90% in 0.0485 secs
  95% in 0.0493 secs
  99% in 0.0509 secs

Details (average, fastest, slowest):
  DNS+dialup:	0.0069 secs, 0.0010 secs, 0.0512 secs
  DNS-lookup:	0.0020 secs, 0.0000 secs, 0.0054 secs
  req write:	0.0001 secs, 0.0000 secs, 0.0033 secs
  resp wait:	0.0157 secs, 0.0009 secs, 0.0365 secs
  resp read:	0.0001 secs, 0.0000 secs, 0.0013 secs

Status code distribution:
  [500]	200 responses

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this project.

About

πŸ€ Demo application of FrankenPHP (@dunglas) based on Nette Framework (@nette) by @f3l1x.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published