Case Study

AI Assistant Performance Bottleneck

A software company has developed a new AI assistant to help developers by automatically generating code documentation. The assistant takes an entire source code file as input (often thousands of lines long) and is supposed to produce a detailed, multi-page document explaining the code's functionality. During testing, developers notice that while the assistant works quickly for small code snippets (under 50 lines), it becomes extremely slow and sometimes fails entirely when processing larger, more typical source code files. The quality of the generated text is not the issue; the primary problem is the time it takes to get a response. Based on this scenario, what is the most likely technical reason for this severe performance degradation?

0

1

Updated 2025-10-02

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science