Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-beta10
Description: 

Both functions used entity_create() to create temporary, anonymous user entities while viewing nodes and comments. That was very slow and the corresponding code has been refactored to improve performance.

Instead of calling user_attach_accounts(), the author formatter that is used for displaying node authors now extends from EntityReferenceFormatterBase, which has the functionality to preload user entities built in. This is the recommended approach, if that is not an option, then it is possible to manually load the user entities like CommentViewBuilder still does.

comment_prepare_author() has been merged into $comment->getOwner().

Before

$author = comment_prepare_author($comment->getOwner());

After

$author = $comment->getOwner();
Impacts: 
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done