diff --git a/performance/compare_benchmark_performance_results.py b/performance/compare_benchmark_performance_results.py index 31d7d510d4..609945e402 100644 --- a/performance/compare_benchmark_performance_results.py +++ b/performance/compare_benchmark_performance_results.py @@ -78,8 +78,8 @@ "\n**Warning**: Performance degradation in Dataset Generation and/or Evaluation exceeds 5%!" ) print( - "Explore branch performance via 'python performance/bluebench_profiler.py --output_file='," - "followed by 'snakeviz '." + "Explore branch performance via 'python performance/bluebench_profiler.py --output_file=[path to json file]'," + "followed by 'snakeviz [the performance.prof file specified in the output json file]." ) sys.exit(1) diff --git a/src/unitxt/loaders.py b/src/unitxt/loaders.py index d2b9ead29a..4f570be75b 100644 --- a/src/unitxt/loaders.py +++ b/src/unitxt/loaders.py @@ -1045,11 +1045,10 @@ def load_iterables(self) -> Dict[str, Iterable]: base_headers.update(self.headers) iterables = {} - # log limited only once, because all splits are limited the same - if self.get_limit() is not None: - self.log_limited_loading() - for split_name, url in self.urls.items(): + if self.get_limit() is not None: + self.log_limited_loading() + if self.method == "GET": response = requests.get( url,