You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -143,12 +139,11 @@ Here is an example demonstrating how to use `TraceAnalyzer`.
143
139
144
140
The above code demonstrates how to perform trace analysis using `libcachesim`. The workflow is as follows:
145
141
146
-
1. Download a trace file from an S3 bucket using `DataLoader`.
147
-
2. Open the trace file with `TraceReader`, specifying the trace type and any reader initialization parameters.
148
-
3. Configure the analysis options with `AnalysisOption` to enable or disable specific analyses (such as request rate, size, etc.).
149
-
4. Optionally, set additional analysis parameters with `AnalysisParam`.
150
-
5. Create a `TraceAnalyzer` object with the reader, output directory, and the chosen options and parameters.
151
-
6. Run the analysis with `analyzer.run()`.
142
+
1. Open the trace file with `TraceReader`, specifying the trace type and any reader initialization parameters. The URI starting with `s3://`, will download a trace file from an S3 bucket.
143
+
2. Configure the analysis options with `AnalysisOption` to enable or disable specific analyses (such as request rate, size, etc.).
144
+
3. Optionally, set additional analysis parameters with `AnalysisParam`.
145
+
4. Create a `TraceAnalyzer` object with the reader, output directory, and the chosen options and parameters.
146
+
5. Run the analysis with `analyzer.run()`.
152
147
153
148
After running, you can access the analysis results, such as summary statistics (`stat`) or detailed results (e.g., `example_analysis.size`).
0 commit comments