File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -151,8 +151,10 @@ function profile_harness() {
151
151
perf_dir=" $3 "
152
152
153
153
echo " Running $description test harness in Instruments..."
154
- instruments -t " $script_dir /Protobuf" -D " $results_trace " \
155
- " $harness " -e DYLD_LIBRARY_PATH " $perf_dir /_generated"
154
+ mkdir -p " $results_trace "
155
+ xctrace record --template ' Time Profiler' --output " $results_trace " \
156
+ --env DYLD_LIBRARY_PATH=" $perf_dir /_generated" \
157
+ --launch -- " $harness "
156
158
}
157
159
158
160
# Inserts the partial visualization results from all the languages tested into
359
361
360
362
insert_visualization_results " $partial_results " " $results_js "
361
363
362
- # Open the Instruments trace and HTML report at the end.
363
- open -g " $display_results_trace .trace"
364
+ # Open the HTML report at the end.
364
365
open -g " $script_dir /harness-visualization.html"
You can’t perform that action at this time.
0 commit comments