Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
statistics.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2016 at 07:06 UTC
Updated:
5 Mar 2018 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
arunkumarkHi,
As per suggestion in Issue, i have patched to improve performance of Statics block.
Comment #3
timmillwoodI wonder if we need an updated test for this in
\Drupal\statistics\Tests\StatisticsReportsTest::testPopularContentBlock.Comment #8
wim leersGreat catch :)
But you deleted one line too many, hence the failing test.
(Which ideally would indeed not be necessary, but alas, since
class Link implements RenderableInterfaceand notclass Link implements RenderableInterface, CacheableDependencyInterface, that one line is still necessary.)Pleasantly surprised that Statistics' tests are this complete that they caught this regression! :)
Comment #9
borisson_This ends up being a really small improvement, but it is an improvement. Great work!
Comment #10
alexpottCommitted e89abeb and pushed to 8.6.x. Thanks!