discourse/plugins/chat/app/serializers
Alan Guo Xiang Tan 6bcf558bae
PERF: Stop serializing user in `ChatChannelSerializer#current_user_membership` (#19527)
The client already has all the information about the current user so
there is no need for us to be serializing the current `User` object each
time per channel that is preloaded.

In production, profiling shows that this unneeded serializing
adds a roughly 5% overhead to a request.
2022-12-22 05:30:06 +08:00
..
admin_chat_index_serializer.rb
base_chat_channel_membership_serializer.rb PERF: Stop serializing user in `ChatChannelSerializer#current_user_membership` (#19527) 2022-12-22 05:30:06 +08:00
chat_channel_index_serializer.rb
chat_channel_search_serializer.rb
chat_channel_serializer.rb PERF: Stop serializing user in `ChatChannelSerializer#current_user_membership` (#19527) 2022-12-22 05:30:06 +08:00
chat_in_reply_to_serializer.rb
chat_message_serializer.rb
chat_view_serializer.rb FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat_webhook_event_serializer.rb
direct_message_serializer.rb
incoming_chat_webhook_serializer.rb
reviewable_chat_message_serializer.rb
structured_channel_serializer.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_chat_channel_membership_serializer.rb PERF: Stop serializing user in `ChatChannelSerializer#current_user_membership` (#19527) 2022-12-22 05:30:06 +08:00
user_chat_message_bookmark_serializer.rb
user_with_custom_fields_and_status_serializer.rb