mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: V orm still fast? (#15330)
This commit is contained in:

committed by
GitHub

parent
0b1486f014
commit
ee9142a113
27
examples/js_dom_draw_bechmark_chart/README.md
Normal file
27
examples/js_dom_draw_bechmark_chart/README.md
Normal file
@ -0,0 +1,27 @@
|
||||
# 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)
|
Reference in New Issue
Block a user