TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Building Automated Analytics Logging for iOS Apps

22 点作者 matm大约 11 年前

6 条评论

drham大约 11 年前
Showing the CPU+Battery utilization graph for a sample app is a pretty dubious way to demonstrate the performance impacts of swizzling sendAction:to:from:forEvent:<p>It may indeed be a negligible impact as they claim, but using the Time Profiler instrument they could show exactly how much time is spent in the main queue on their swizzled code which would be a much better indication of whether or not the performance impact is negligible than eyeballing a cpu utilization graph.
评论 #7740759 未加载
DenisM大约 11 年前
Swizzling? Why not just override the event method in a class derived from UIApplication? That&#x27;s what I do if I want to see all user events, works just fine.
评论 #7741316 未加载
评论 #7742292 未加载
jakozaur大约 11 年前
That&#x27;s even better of use heap than for web pages. Usually for any web development it&#x27;s so much easier&#x2F;faster to deploy new version than release new version of mobile application.
weixiyen大约 11 年前
My concern are the costs. If you track by visits, even trivial apps will need to pay $500&#x2F;month.
debt大约 11 年前
I would like to know specifically how impactful method swizzling is on performance. I understand it&#x27;s &quot;negligible&quot; but what does that mean exactly? Nonetheless, I like what you guys are doing; Heap&#x27;s approach to analytics its pretty clever.
评论 #7740734 未加载
garrettlarson大约 11 年前
Is there an advantage to method swizzling instead of just subclassing UIApplication?
评论 #7741303 未加载