MCPcopy Create free account
hub / github.com/Tencent/loli_profiler

github.com/Tencent/loli_profiler @v1.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.3.1 ↗ · + Follow
889 symbols 1,914 edges 98 files 125 documented · 14% updated 32d agov1.3.1 · 2026-06-10★ 6891 open issues

Browse by type

Functions 782 Types & classes 107
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Overview

LoliProfiler is a C/C++ memory profiling tool for Android games and applications.

LoliProfiler supports profiling debuggable applications out of box. And offers engine specific (UnrealEngine4/Unity) modifications to enable profiling complex or production level games.

Features

  • Profiler client supports Windows 10/7 and Mac OSX Mojave and newer.
  • Work with debuggable applications out of box.
  • Support attaching to running application.
  • Support multiple back-trace implementations.
  • Support profiling complex games by doing some mods with your game engine.
  • Support detecting c++ code memory leaks(Tested with Unreal Engine 4.26).
  • Support profiling release build applications on rooted devices.
  • Multiple data view modes: tree map/call tree/memory fragmentation.
  • Builtin adb console to be able to exec command.
  • CLI mode for automated profiling and CI/CD integration.
  • AI (Claude Code) based memory growth report generation.
  • loli CLI for interactive heap snapshot/diff exploration from any shell or agent.

Documents

Special Thanks

License

See LICENSE File.

Core symbols most depended-on inside this repo

Shape

Method 414
Function 368
Class 98
Enum 9

Languages

C++58%
C26%
Python17%

Modules by API surface

src/mainwindow.cpp88 symbols
src/lz4/lz4.c79 symbols
plugins/Android/jni/lz4/lz4.c79 symbols
python/jdwp-shellifier.py46 symbols
loli_cli/tree_model.py36 symbols
src/cliprofiler.cpp31 symbols
plugins/Android/jni/xh_elf.c29 symbols
plugins/Android/jni/loli.cpp24 symbols
plugins/Android/jni/xh_core.c21 symbols
markdown_to_html.py20 symbols
plugins/Android/jni/buffer.h19 symbols
src/treemapgraphicsview.cpp18 symbols

For agents

$ claude mcp add loli_profiler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page