mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 07:31:00 +00:00
1 line
1.3 KiB
JSON
1 line
1.3 KiB
JSON
[{"user_id": 5778, "stars": [], "topic_id": 11510, "date_created": 1299605831.883065, "message": "Is there a clean way to tell cProfile.run how many times to execute the specified function?", "group_id": 292, "id": 297689}, {"user_id": 5778, "stars": [], "topic_id": 11510, "date_created": 1299605850.6034169, "message": "I feel dirty throwing loops into my functions just for the sake of getting more interesting stats out of cProfile", "group_id": 292, "id": 297692}, {"user_id": 5778, "stars": [], "topic_id": 11510, "date_created": 1299605879.55479, "message": "I'm thinking something along the lines of timeit, just with more details", "group_id": 292, "id": 297699}, {"user_id": 927, "stars": [{"date_created": 1299733155.2575099, "user_id": 5778}], "topic_id": 11510, "date_created": 1299637563.0433919, "message": "Is there a reason not to just do cProfile with something like [ foo() for i in range(0, 3) ]? If you're testing something insanely quick, you're probably going to be dominated by things like function call overhead anyway", "group_id": 292, "id": 301090}, {"user_id": 5778, "stars": [], "topic_id": 11510, "date_created": 1299733197.2380509, "message": "@acdha thanks for the suggestion! I'll probably end up trying your suggestion next time I need to profile something", "group_id": 292, "id": 311009}] |