Sandwich view is a mode of viewing flame graphs that was popularized in the Speedscope project by Jamie Wong, and it effectively separates a flame graph into two sections: callers and callees, providing a clearer understanding of resource utilization within functions. This mode offers an advantage over the typical flame graph by highlighting the time spent in a function itself versus the time spent in the functions it calls, thus facilitating the identification of optimization opportunities. For instance, while a standard flame graph might highlight a single function like rideshare/car.OrderCar as a point of optimization due to its large width, the sandwich view can reveal frequently called functions like Time.Since() even if they have a shorter width, across various code paths. To utilize the sandwich view, users can access it through the Pyroscope UI or flamegraph.com by selecting the appropriate icon, and Grafana Labs, which acquired Pyroscope in 2023, plans to introduce more view modes in the future.