Knight-ZXW/BlockCanaryX

🔥基于堆栈采样,使用函数火焰图的形式展示Android Main Looper的慢消息处理过程,定位阻塞原因

KotlinJavaJavaScriptHTMLCSSapmblockcanaryandroid-blocking-detect
This is stars and forks stats for /Knight-ZXW/BlockCanaryX repository. As of 07 May, 2024 this repository has 371 stars and 40 forks.

BlockCananry 该库通过监听主线程Looper的消息处理时间,并通过stackSampler定时采样主线程的堆栈,当检测 到主线程Looper消息慢处理时,会通过Notification的方式告知用户,当用户点击卡顿详情时, 会跳转到一个Web页面,以火焰图的形式展示消息处理时间内的函数运行情况 项目说明 1.本项目的初衷是为了介绍 https://juejin.cn/post/7107137302043820039 这篇文章的内容。 功能界面 引入 dependencies { //引入卡顿监控实现依赖库 implementation 'io.github.knight-zxw:blockcanary:${latestVersion}' //引入卡顿消息通知及相关展示UI implementation 'io.github.knight-zxw:blockcanary-ui:${latestVersion}' // 如果你只想在debug包引入,不希望被引入release包,可以使用 debugImplementation //debugImplementation...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
vantage-sh/ec2instances.infoMakoPythonJavaScript4.7k+7576-1
teaconmc/PuermcfunctionJavaScriptInk90360
nocomp/Flipper_Zero_Badusb_hack5_payloadsPowerShellJavaShell84601160
insightsengineering/teal.modules.generalRCSS8050
uktrade/data-workspace-visualisationRHTMLDockerfile2000
dgknca/css-skeletonsSCSSJavaScript52050
pages-themes/modernistSCSSHTMLRuby12502190
devtooligan/huffhuffpassSolidityJavaScriptShell28020
tarb/svelte-dnd-listSvelteTypeScriptJavaScript33010
fslongjin/This-repo-has-896-starsPythonTypeScriptC#1.4k+1410