AI 剖析:LangChain4j 与 Spring AI
智能体(agentic)应用带来了独特的剖析挑战。除了标准的 CPU 使用率之外,性能和成本还取决于提示词、RAG 检索器和工具调用所构成的复杂结构,而这些结构往往隐藏在框架抽象之下。
为了避免厂商锁定,大多数开发者都会使用 LangChain4j 或 Spring AI 这样的框架。JProfiler 的 AI 探针可让您深入了解这些框架。
这段录屏视频逐步演示了如何剖析一个 LangChain4j 客户支持智能体,展示了 AI 探针如何将提示词的构成可视化、隔离出 token 消耗高的异常调用,并将资源成本直接投射到所记录的调用树上。
归档
十一月/1
九月/3
2025/20
HotSpot 的反击:JEP 544 会终结 GraalVM 的启动性能垄断吗?15 个月后 SBOM 将成为强制要求,而你的 SBOM 很可能是错的。我是如何让 Apache Fory JSON 提速 4.5 倍的
八月/3
七月/2
四月/3
我如何借助 JProfiler MCP 让 jclasslib 的性能翻倍Claude 仅靠阅读代码永远无法找到的热点JProfiler 16.1:AI 智能体现在可以对您的 Java 应用程序进行性能分析
三月/2
二月/1
十月/1
八月/1
七月/2
2024/5
2023/7
The power of async tracking in JVM profilingWebsite refresh: Visual updates, dark mode, and semantic search for docs
六月/4
All our artifacts are now published on Maven CentralJEP 493 follow-up: install4j 11.0.4 is ready for separate JMOD bundles in Eclipse Temurin 24.0.2JProfiler tips roundup May 2025JVM performance watch roundup May 2025
五月/3
JProfiler tips roundup April 2025JVM performance watch roundup April 2025Heap Walker scripting for snapshot analysis
四月/8
Capturing and comparing MBean states with JProfilerAdvanced SSH remote profiling with JProfilerProfiling Java applications in VS Code with JProfilerAdvanced Kafka probe configuration in JProfilerProfiling Kafka #1 – Message Flow & Hot SpotsBringing JProfiler to VS Code with Kotlin Multi-PlatformCaching auto-provisioned install4j distributions in CI pipelinesCross-platform JRE bundle creation under threat from JEP 493
一月/1
九月/5
2022/10
Garbage collector analysis in JProfilerRecording JFR snapshots with JProfilerEnhanced JFR snapshot analysis with JProfilerWorking with probe events in JProfilerCustomizing telemetries in JProfiler
三月/1
一月/1
十二月/2
十一月/3
2021/2
2020/1
2019/1
2018/3
2017/5
2016/1
2015/10
Using sunburst diagrams for understanding Java memory consumptionUsing flame graphs when profiling Java applicationsProfiling a Netty server
十月/1
九月/1
八月/2
七月/1
十一月/5
2014/3
2013/3
2012/5
2011/13
Analyzing specific parts of the call treeAnalyzing incoming and outgoing calls of a methodCollapsing recursions in the call treeRemote profiling through an SSH tunnelFinding JDBC connection leaks
六月/5
十二月/1
十月/2
九月/5
2010/8
2009/14
Using the "Run interceptor script" trigger actionCreating a custom probeInspections in the heap walkerHeap walker graph: Finding paths between selected instancesFiltering in the reference view of the heap walker
八月/4
Request trackingAnalyzing long-running AWT events with JProfilerProbes overviewCPU profiling: Sampling and instrumentation
二月/1