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

Performance logs #12

Open
rageworx opened this issue Mar 9, 2023 · 4 comments
Open

Performance logs #12

rageworx opened this issue Mar 9, 2023 · 4 comments
Assignees

Comments

@rageworx
Copy link
Owner

rageworx commented Mar 9, 2023

Left here to performance of each different platforms.

@rageworx rageworx self-assigned this Mar 9, 2023
@rageworx
Copy link
Owner Author

rageworx commented Mar 9, 2023

srcnntest v0.1.9.35 / macOS 12 / Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz

  • Pictures/butterfly.png -> 8233 ms.
>  bin/srcnntest Pictures/butterfly.png --scale=2
- Loading image : Pictures/butterfly.png
- Image loaded type : PNG | 256 x 256 x 3 bytes
- Scaling ratio : 2.00
- Filter : Bicubic
- Processing SRCNN ... Test Ok, took 8233 ms.
- Saving rezied result to Pictures/butterfly_resized.png ... Ok.
- Saving convolution result to Pictures/butterfly_convolution.png ... Ok.
  • Pictures/test.jpg ( a scene of castle and small lake ) = 67340 ms.
>  bin/srcnntest Pictures/test.jpg --scale=2
- Loading image : Pictures/test.jpg
- Image loaded type : JPEG | 960 x 540 x 3 bytes
- Scaling ratio : 2.00
- Filter : Bicubic
- Processing SRCNN ... Test Ok, took 67340 ms.
- Saving rezied result to Pictures/test_resized.png ... Ok.
- Saving convolution result to Pictures/test_convolution.png ... Ok.
  • Looks without OpenMP, performance should not be better.
  • macOS manages CPU not fully loaded while srcnn doing scaling.

image

@rageworx
Copy link
Owner Author

rageworx commented Mar 30, 2023

srcnntest v0.1.9.35 / debian linux aarch64 / rk3399 1.9GHz

  • Rockchip RK3399, 2 Big + 4 Little cores, aarch64.
  • Pictures/butterfly.png -> 2457 ms.
> bin/srcnntest Pictures/butterfly.png
- Loading image : Pictures/butterfly.png
- Image loaded type : PNG | 256 x 256 x 3 bytes
- Scaling ratio : 2.00
- Filter : Bicubic
- Processing SRCNN ... Test Ok, took 2457 ms.
- Saving resized result to Pictures/butterfly_resized.png ... Ok.
- Saving convolution result to Pictures/butterfly_convolution.png ... Ok.
  • RK3399 faster about 3.5 times than Intel i7-5550u ...

@rageworx
Copy link
Owner Author

srcnntest v0.1.9.35 / debian linux armhf (32bit hard float) / Broadcom BCM2837B0 1.4GHz

  • Pictures/butterfly.png -> 5182 ms.
>  bin/srcnntest Pictures/butterfly.png
- Loading image : Pictures/butterfly.png
- Image loaded type : PNG | 256 x 256 x 3 bytes
- Scaling ratio : 2.00
- Filter : Bicubic
- Processing SRCNN ... Test Ok, took 5182 ms.
- Saving resized result to Pictures/butterfly_resized.png ... Ok.
- Saving convolution result to Pictures/butterfly_convolution.png ... Ok.
  • Still faster than Intel i7-5550u.

@rageworx
Copy link
Owner Author

rageworx commented Mar 30, 2023

srcnntest v0.1.9.35 / macOS 12 + libomp / Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz

  • not Xcode clang, homebrew installed llvm, with libomp ( OpenMP enabled )
  • Pictures/butterfly.png -> 799 ms.
>  bin/srcnntest Pictures/butterfly.png --scale=2
- Loading image : Pictures/butterfly.png
- Image loaded type : PNG | 256 x 256 x 3 bytes
- Scaling ratio : 2.00
- Filter : Bicubic
- Processing SRCNN ... Test Ok, took 799 ms.
- Saving rezied result to Pictures/butterfly_resized.png ... Ok.
- Saving convolution result to Pictures/butterfly_convolution.png ... Ok.

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

No branches or pull requests

1 participant