Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
minh.q.nguyen committed Mar 16, 2022
1 parent b9b322d commit f405124
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
- `native image` from GraalVM to compile into machine code and run without JVM or JDK.
- [Eclipse Vert.x](https://vertx.io/) for asynchronuos execution. (*)
- Easy to setup:
- No extra dependencies.
- Just download and extract the `tar` file.
- The app is completely bundled into an executable file.
- No extra dependencies needed.
- Just download and extract the `tar` file from `release` page.
- Add the file to your shell `path` for quick access.

(*): the configs of Vertx were minimized to use as least resource as possible.
Expand All @@ -22,7 +23,7 @@ cd gis
docker build -t gis .
docker create --name dkgis_ gis:latest; docker cp dkgis_:/app/gis/gis .; docker rm -f dkgis_;
```
An executable file named `gis` will be created under project directory.
After the steps above, an executable file named `gis` will be created under project directory.

## JVM

Expand All @@ -45,17 +46,17 @@ For more details, just run:
|---|---|
|`git submodule foreach git status -sb --ignore-submodules`|`gis st`|
|(not include root module)|(include root module)|
|took 67ms | took 49ms |
|took 141ms | took 106ms |
|took 103ms | took 56ms |
|took 148ms | took 109ms |
|took 155ms | took 118ms |
|took 157ms | took 116ms |
|took 126ms | took 108ms |
|took 151ms | took 103ms |
|took 67ms | took 118ms |
|took 148ms | took 50ms |
|took 134ms | took 50ms |
| 67ms | 49ms |
| 141ms | 106ms |
| 103ms | 56ms |
| 148ms | 109ms |
| 155ms | 118ms |
| 157ms | 116ms |
| 126ms | 108ms |
| 151ms | 103ms |
| 67ms | 118ms |
| 148ms | 50ms |
| 134ms | 50ms |
|average = **127ms**|average = **89.36ms**|

## git fetch
Expand All @@ -66,15 +67,15 @@ Since the duration results from `git` command are too obvious, I only run 5 time
|---|---|
|`git submodule foreach git fetch`|`gis fe`|
|(not include root module)|(include root module)|
|took 22s751ms |took 5s550ms |
|took 23s503ms |took 5s214ms |
|took 20s482ms |took 3s223ms |
|took 21s587ms |took 3s284ms |
|took 24s75ms |took 3s273ms |
|(not needed) |took 3s34ms |
|(not needed) |took 3s596ms |
|(not needed) |took 3s100ms |
|(not needed) |took 3s157ms |
|(not needed) |took 3s147ms |
|(not needed) |took 3s594ms |
| 22s751ms | 5s550ms |
| 23s503ms | 5s214ms |
| 20s482ms | 3s223ms |
| 21s587ms | 3s284ms |
| 24s75ms | 3s273ms |
| | 3s34ms |
| | 3s596ms |
| | 3s100ms |
| | 3s157ms |
| | 3s147ms |
| | 3s594ms |
|average = **22s**479.6ms|average = **3s**679.818ms|

0 comments on commit f405124

Please sign in to comment.