Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Benchmark gpu based resize performance #40

Closed
wants to merge 1 commit into from

Conversation

ajatprabha
Copy link
Member

@ajatprabha ajatprabha commented Oct 21, 2019

Ref: #19

This is an experimental work as of now.

Setup

GPU Info
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.26       Driver Version: 430.26       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   53C    P0    N/A /  N/A |    510MiB /  4046MiB |     31%      Default |
+-------------------------------+----------------------+----------------------+
Load

33% Average GPU utilization.
100% Single CPU thread utilization.

CPU Info
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz x 8
Load

43% Average Muilti-thread(x8) utilization.

Benchmark Results

goos: linux, goarch: amd64

Name Iterations ns/op Total Time (s)
BenchmarkOpenCVProcessor_GpuResize-8 1000 53772393 59.366
BenchmarkBildProcessor_Resize-8 200 232417595 69.710

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant