ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

persistent vulkan pipeline cache

Open futz12 opened this issue 6 months ago • 4 comments

  • [x] 文件级缓存Pipeline
  • [x] 验证平台信息等
  • [x] 缓存spv

性能表现: CPU: 13900HX GPU: 对应核心显卡

==================================================
              Verification and Summary
==================================================
Output verification: SUCCESS
--------------------------------------------------
Performance Summary:
  - Without Cache: 423.934 ms
  - With Cache:    99.2737 ms
  - Speedup:       76.5828%

futz12 avatar Jul 31 '25 16:07 futz12

CLA assistant check
All committers have signed the CLA.

tencent-adm avatar Jul 31 '25 16:07 tencent-adm

The binary size change of libncnn.so (bytes)

architecture base size pr size difference
x86_64 15643128 15657200 +14072 :warning:
armhf 6648220 6653924 +5704 :warning:
aarch64 9986896 9988816 +1920 :warning:

github-actions[bot] avatar Jul 31 '25 16:07 github-actions[bot]

Codecov Report

:x: Patch coverage is 73.14286% with 47 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 95.95%. Comparing base (8c5e23b) to head (183ecb9). :warning: Report is 27 commits behind head on master.

Files with missing lines Patch % Lines
src/pipelinecache.cpp 73.05% 45 Missing :warning:
src/gpu.cpp 75.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6221      +/-   ##
==========================================
+ Coverage   95.72%   95.95%   +0.23%     
==========================================
  Files         747      836      +89     
  Lines      249693   265392   +15699     
==========================================
+ Hits       239014   254662   +15648     
- Misses      10679    10730      +51     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Aug 01 '25 02:08 codecov-commenter

感谢你的工作,请将你在实现中的笔记和心得,遇到的困难和解决方法等,记录成文章,发表在discussion分区,这将作为知识总结 https://github.com/Tencent/ncnn/discussions

Thank you for your work. Please record your notes and experience in the implementation, difficulties encountered and solutions, etc. into an article and publish it in the discussion section. This will serve as a knowledge summary. https://github.com/Tencent/ncnn/discussions

nihui avatar Aug 21 '25 07:08 nihui