This invention discloses a performance
analysis method and apparatus. After obtaining the
bus performance limit parameters of the target on-
chip system, the method constructs an analysis model characterizing the
system bus architecture based on these parameters. Simultaneously, it acquires an application benchmark program, extracts key behavioral segments affecting
system performance, converts them into input data streams, and injects these input data streams into the analysis model at a fixed
injection rate. The total number of traffic segments passing through each channel and node of the analysis model is detected. Based on the resource constraint parameters at each location, the bandwidth value of the corresponding single traffic segment is deduced, and the theoretical
bottleneck bandwidth is determined accordingly. Simultaneously, the corresponding static
delay value is determined based on the architecture configuration parameters. Finally, based on the theoretical
bottleneck bandwidth and the static
delay value, the
bus performance analysis result of the target on-
chip system is determined. This method, through traffic segment modeling and
delay calculation, achieves early and accurate location and multi-dimensional quantitative evaluation of on-
chip system bus performance bottlenecks, significantly improving
system optimization efficiency.