From 4a3a4fdea3a131434e3812527ab48e9a5f4b75a7 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 9 Feb 2013 13:00:06 -0800 Subject: [PATCH] Make Conpherence a lot faster Summary: Remove a sleep(). Test Plan: Thread cost dropped from ~1s to ~70ms for a test thread based on profiling after D4885. Reviewers: btrahan, chad, vrana Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D4886 --- .../conpherence/view/ConpherenceTransactionView.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/applications/conpherence/view/ConpherenceTransactionView.php b/src/applications/conpherence/view/ConpherenceTransactionView.php index 5c8c8a9ba1..2d785dc225 100644 --- a/src/applications/conpherence/view/ConpherenceTransactionView.php +++ b/src/applications/conpherence/view/ConpherenceTransactionView.php @@ -71,10 +71,6 @@ final class ConpherenceTransactionView extends AphrontView { break; case PhabricatorTransactions::TYPE_COMMENT: $comment = $transaction->getComment(); - $file_ids = - PhabricatorMarkupEngine::extractFilePHIDsFromEmbeddedFiles( - array($comment->getContent()) - ); $content = $this->markupEngine->getOutput( $comment, PhabricatorApplicationTransactionComment::MARKUP_FIELD_COMMENT);