mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
Add profiled decorator and a tool to show profiler results.
The goal here is to make it easier to do ad hoc profiling on our codebase, particularly by running tests. (imported from commit 71da06feb3a369dec8dc4d8391f7f40e4c2d02ff)
This commit is contained in:
@@ -10,7 +10,7 @@ from zephyr.models import Message, UserProfile, Stream, Recipient, Subscription,
|
||||
get_display_recipient, Realm, Client, \
|
||||
PreregistrationUser, UserMessage
|
||||
from zephyr.tornadoviews import json_get_updates, api_get_messages
|
||||
from zephyr.decorator import RespondAsynchronously, RequestVariableConversionError
|
||||
from zephyr.decorator import RespondAsynchronously, RequestVariableConversionError, profiled
|
||||
from zephyr.lib.initial_password import initial_password
|
||||
from zephyr.lib.actions import do_send_message, gather_subscriptions, \
|
||||
create_stream_if_needed, do_add_subscription
|
||||
|
||||
Reference in New Issue
Block a user