[cost] Remove --perf-profiler-data-file option and loom_test.json

Reviewed By: jvillard

Differential Revision: D23841657

fbshipit-source-id: f7eb28359
master
Ezgi Çiçek 4 years ago committed by Facebook GitHub Bot
parent ead975f193
commit 68597c5908

@ -212,9 +212,6 @@ OPTIONS
--max-jobs int --max-jobs int
Maximum number of analysis jobs running simultaneously Maximum number of analysis jobs running simultaneously
--perf-profiler-data-file file
DEPRECATED: Specify the file containing perf profiler data to read
--print-active-checkers --print-active-checkers
Activates: Print the active checkers before starting the analysis Activates: Print the active checkers before starting the analysis
(Conversely: --no-print-active-checkers) (Conversely: --no-print-active-checkers)

@ -814,10 +814,6 @@ OPTIONS
See also infer-analyze(1). See also infer-analyze(1).
--perf-profiler-data-file file
DEPRECATED: Specify the file containing perf profiler data to read
See also infer-analyze(1).
--pmd-xml --pmd-xml
Activates: Output issues in (PMD) XML format in Activates: Output issues in (PMD) XML format in
infer-out/report.xml (Conversely: --no-pmd-xml) See also infer-run(1). infer-out/report.xml (Conversely: --no-pmd-xml) See also infer-run(1).
@ -1667,9 +1663,6 @@ INTERNAL OPTIONS
data. When false, error traces are shorter and show only direct data. When false, error traces are shorter and show only direct
flow via souces/sinks (Conversely: --no-passthroughs) flow via souces/sinks (Conversely: --no-passthroughs)
--perf-profiler-data-file-reset
Cancel the effect of --perf-profiler-data-file.
--print-buckets --print-buckets
Activates: Show the internal bucket of Infer reports in their Activates: Show the internal bucket of Infer reports in their
textual description (Conversely: --no-print-buckets) textual description (Conversely: --no-print-buckets)

@ -814,10 +814,6 @@ OPTIONS
See also infer-analyze(1). See also infer-analyze(1).
--perf-profiler-data-file file
DEPRECATED: Specify the file containing perf profiler data to read
See also infer-analyze(1).
--pmd-xml --pmd-xml
Activates: Output issues in (PMD) XML format in Activates: Output issues in (PMD) XML format in
infer-out/report.xml (Conversely: --no-pmd-xml) See also infer-run(1). infer-out/report.xml (Conversely: --no-pmd-xml) See also infer-run(1).

@ -1487,12 +1487,6 @@ and _log_skipped =
machine-readable format" machine-readable format"
and[@warning "-32"] perf_profiler_data_file =
CLOpt.mk_path_opt ~long:"perf-profiler-data-file"
~in_help:InferCommand.[(Analyze, manual_generic)]
~meta:"file" "DEPRECATED: Specify the file containing perf profiler data to read"
and linter = and linter =
CLOpt.mk_string_opt ~long:"linter" CLOpt.mk_string_opt ~long:"linter"
~in_help:InferCommand.[(Capture, manual_clang_linters)] ~in_help:InferCommand.[(Capture, manual_clang_linters)]

@ -1 +0,0 @@
[{"function_name":"DiffExampleColdStart::f1","approx_count_trace_id":2,"sum_inclusive_cpu_time":44,"avg_inclusive_cpu_time_ms":22,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0},{"function_name":"DiffExampleColdStart::f2","approx_count_trace_id":1,"sum_inclusive_cpu_time":11,"avg_inclusive_cpu_time_ms":11,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0},{"function_name":"DiffExampleColdStart::f3","approx_count_trace_id":2,"sum_inclusive_cpu_time":44,"avg_inclusive_cpu_time_ms":22,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0},{"function_name":"DiffExampleColdStart::f4","approx_count_trace_id":2,"sum_inclusive_cpu_time":44,"avg_inclusive_cpu_time_ms":22,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0},{"function_name":"DiffExampleColdStart::f55","approx_count_trace_id":2,"sum_inclusive_cpu_time":44,"avg_inclusive_cpu_time_ms":22,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0},{"function_name":"DiffExampleColdStart::f6","approx_count_trace_id":2,"sum_inclusive_cpu_time":44,"avg_inclusive_cpu_time_ms":22,"sum_exclusive_cpu_time":0,"avg_exclusive_cpu_time_ms":0}]

@ -35,7 +35,7 @@ $(EXPECTED_TEST_OUTPUT): $(CURRENT_REPORT) $(PREVIOUS_REPORT) $(MODIFIED_FILES_F
$(INFER_BIN) $(MAKEFILE_LIST) $(INFER_BIN) $(MAKEFILE_LIST)
$(QUIET)$(REMOVE_DIR) $(INFER_OUT) $(QUIET)$(REMOVE_DIR) $(INFER_OUT)
$(QUIET)$(call silent_on_success,Computing results difference in $(TEST_REL_DIR),\ $(QUIET)$(call silent_on_success,Computing results difference in $(TEST_REL_DIR),\
$(INFER_BIN) --perf-profiler-data-file loom_test.json -o $(INFER_OUT) --project-root $(CURDIR) reportdiff \ $(INFER_BIN) -o $(INFER_OUT) --project-root $(CURDIR) reportdiff \
--report-current $(CURRENT_REPORT) --report-previous $(PREVIOUS_REPORT) \ --report-current $(CURRENT_REPORT) --report-previous $(PREVIOUS_REPORT) \
--costs-current $(CURRENT_COSTS) --costs-previous $(PREVIOUS_COSTS) \ --costs-current $(CURRENT_COSTS) --costs-previous $(PREVIOUS_COSTS) \
$(DIFFERENTIAL_ARGS)) $(DIFFERENTIAL_ARGS))

Loading…
Cancel
Save