mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
fix(#30): one concurrent thread by default
This commit is contained in:
parent
6dbab52dbd
commit
e111d875e7
3 changed files with 32 additions and 9 deletions
|
|
@ -60,7 +60,7 @@ Here you can see some performance test comparisons for multiple scenarios:
|
|||
|
||||
#### Benchmarks
|
||||
|
||||
Tested using Go 1.4 and libvips-7.42.3 in OSX i7 2.7Ghz
|
||||
Tested using Go 1.4.2 and libvips-7.42.3 in OSX i7 2.7Ghz
|
||||
```
|
||||
BenchmarkResizeLargeJpeg 50 43400480 ns/op
|
||||
BenchmarkResizePng 20 57592174 ns/op
|
||||
|
|
@ -237,6 +237,11 @@ Run the process passing the `DEBUG` environment variable
|
|||
DEBUG=* ./app
|
||||
```
|
||||
|
||||
Enable libvips traces (note that a lot of data will be written in stdout):
|
||||
```
|
||||
VIPS_TRACE=1 ./app
|
||||
```
|
||||
|
||||
#### func DetermineImageTypeName
|
||||
|
||||
```go
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue