~iany/ Menu
  • Series
  • Tags
  1. Home
  2. Tags
  3. Performance
  • 中

Performance

A collection of 2 articles

Memory Tracing in Windows

The article mainly refers Exercise 2 - Track User Mode Process Allocations | Microsoft Docs. 1. Install Windows Performance Recorder and Analyzer Download and install ADK from here. The windows build version can be checked by running “winver” via Win+r.

Updated Nov 19, 2025  •  3 min read

ActiveRecord includes and preload

ActiveRecord has two query methods to eager load associations, includes and preload. Although the documentation of preload says Allows preloading of args, in the same way that includes does. Indeed the two methods have some differences. In simple words, prefer includes to eager load associations. Use preload only when you want to customize select columns, or you meet error “Can not eagerly load the polymorphic association”.

Updated Nov 19, 2025  •  2 min read

© 2026  •  ~iany/  •  CC-BY-SA 4.0