1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/examples/js_dom_draw_bechmark_chart
Hitalo de Jesus do Rosário Souza ee9142a113
examples: V orm still fast? (#15330)
2022-08-08 04:38:38 +03:00
..
templates/controller/get/all examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00
.gitignore examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00
Dockerfile examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00
draw.js.v examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00
main.v examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00
README.md examples: V orm still fast? (#15330) 2022-08-08 04:38:38 +03:00

To run app

Dockerfile [docker build]=> Docker image [docker run]=> Docker container

sudo docker build -t <name> .

sudo docker run --name <container name> --interactive --tty --publish 3001:3001 <name>

v run .

A message like [Vweb] Running app on http://localhost:3001/ should appear

exit

To implement new bechmarks

create a function to bench in main.v like fn any_function() []int {} that must factory return the array of time spended. So set the attribute in canvas (with id "canvas_insert_id")
In draw.js.v put the attribute name inside of attribute_names array

ROADMAP

02/09/2022

  • select bench (easy)
  • vsql (easy)