Si quieres descansar de verdad, NUNCA elijas:
· Dormir unas horas más
· Un maratón de series
· Un finde de vacaciones y ya está
Nada de eso es descanso real. En su lugar, elige ↓
SwiftUI scroll performance: How I profiled frame drops using vsync
I performed all the testing on Low Power Mode, where the system is throttled. Smooth scrolling on Low Power is a great benchmark for high performance. I used the Animation Hitches instrument as well as the Xcode memory usage debug tool.
VStack (first vsync trace image) immediately froze up when I loaded into the app. This huge initial hang is because VStacks load and render the entire view hierarchy when they display. This meant all 1,000 cells were being loaded and laid out simultaneously. Once it had finished loading, I could now interact with the scroll view, but experienced frame drops Look at the VSync Instruments trace - while some frames rendered in the expected 16.67ms (60fps), many took far longer, which manifested as many dropped frames per second. Eagerly loading 1,000 views all at once also created a massive memory spike accompanying the hang, which never went away since the views were all held in memory.
LazyVStack (second vsync trace image) on loading and scrolling is much more healthy. You can see in the trace that VSync comfortably pushes each frame at the required 16.67ms interval for 60fps, even on Low Power Mode. Scrolling down through hundreds of items, we get a few very minor frame drops but no hangs. From the point of View of SwiftUI, only a few items are on-screen at once, so it can all be comfortably computed and rendered in the milliseconds between each frame.
List (final vsync trace image) was the best, just inching out LazyVStack. No hangs. No hitches. No nuffin’. Effortless 60fps on Low Power Mode. When dynamically sizing our cell content, I found a few one-and-two frame hitches when scrolling very fast, but certainly less than we saw with the LazyVStack.
Link in first reply.
오늘날 한국 사회의 불행은
"민주주의의 반대말은 공산주의"
라고 배웠다는거죠.
이승만, 박정희, 전두환. 세 독재자들이
"자유 민주주의"라고 주장하고 학교에서 이렇게 가르치면서 왜곡된 현실이 지금의 이상한 상황을 만들었죠.
민주주의의 반대말은 독재주의.
왕정주의나 파시즘입니다.
어느 순간부터 IT 업계에서 '사람과 사람을 연결'한다는 말이 사라졌다. 이메일도, SNS도, 메신저도 사람을 연결하기 위해 등장했다. 사람을 연결하는 기술이 멋져보여 개발자가 되기도 했다.
이제는 '이 완벽한 기계와 대화하세요'다. 근데 난 이상하게 그게 재미가 없다. 벽보고 공치는 것 같다.
Lilys AI라고 Youtube 요약을 해주는 AI입니다. 무료를 써보니 너무 좋은 것 같아서 돈 내고 사용 중입니다. 시간은 없는데 공부는 하고 싶을 때, 효율성 끝판왕입니다.
1) 유튜브 주소 복붙
2) 알아서 목차, 요약, 마인드맵 등등 다 해 줌
3) 모르는 것 바로바로 AI에게 묻기 가능