the-benchmarker/web-frameworks

Crystal framework are running on development

Closed this issue · 2 comments

Hi,

I do not know about other frameworks, but :

⚠️ Mode is choosed with environment var, I don't know how to set them via neph

@tbrand I do not know if there is a mode for route_cr

@tbrand It appears the environment is not used by kemal, raze, ...

in fact make / neph could be aware of CRYSTAL_ENV ... but those vars are not exported to processes behind (e.g : symlinks in bin/).

For me there is 3 solutions :

  • Hard-code the environment in each framework code
  • Use benchmarker to export variable to running childs (e.g : each frameworks)
  • Use docker for isolation (proper environment for each frameworks)

@tbrand it appear that frameworks are still running on development.

I've fixed this on #142