You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	| @@ -1,3 +1,3 @@ | ||||
| Here we maintain a database of contributors, from which we generate credits on release blog posts and social medias. | ||||
| Here we maintain a database of contributors, from which we generate credits on release blog posts and social media. | ||||
|  | ||||
| For the HTTPie blog see: <https://httpie.io/blog>. | ||||
|   | ||||
| @@ -55,7 +55,7 @@ def build_docs_structure(database: Database): | ||||
|     tree = database[KEY_DOC_STRUCTURE] | ||||
|     structure = [] | ||||
|     for platform, tools_ids in tree.items(): | ||||
|         assert platform.isalnum(), f'{platform=} must be alpha-numeric for generated links to work' | ||||
|         assert platform.isalnum(), f'{platform=} must be alphanumeric for generated links to work' | ||||
|         platform_tools = [tools[tool_id] for tool_id in tools_ids] | ||||
|         structure.append((platform, platform_tools)) | ||||
|     return structure | ||||
|   | ||||
| @@ -13,7 +13,7 @@ please run `pyperf system tune` to get even more accurate results. | ||||
|  | ||||
| Examples: | ||||
|  | ||||
|     # Run everything as usual, the default is that we do 3 warmup runs | ||||
|     # Run everything as usual, the default is that we do 3 warm-up runs | ||||
|     # and 5 actual runs. | ||||
|     $ python extras/profiling/benchmarks.py | ||||
|  | ||||
| @@ -188,7 +188,7 @@ DownloadRunner('download', '`http --download :/big_file.txt` (3GB)', '3G') | ||||
| def main() -> None: | ||||
|     # PyPerf will bring it's own argument parser, so configure the script. | ||||
|     # The somewhat fast and also precise enough configuration is this. We run | ||||
|     # benchmarks 3 times to warmup (e.g especially for download benchmark, this | ||||
|     # benchmarks 3 times to warm up (e.g especially for download benchmark, this | ||||
|     # is important). And then 5 actual runs where we record. | ||||
|     sys.argv.extend( | ||||
|         ['--worker', '--loops=1', '--warmup=3', '--values=5', '--processes=2'] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user