Ghost/ghost/core/test/unit/server
Simon Backx 97d0cddb50
Added indexes to members_created_events and members_subscription_created_events (#18805)
fixes https://github.com/TryGhost/Product/issues/4085

Increases the performance for the post analytics export by adding new
indexes. These indexes are used when counting the amount of (paid)
subscribers that were attributed to a given post. With the indexes, the
time required to export 700 posts with 300k members decreases from 40s
to 0.6s.

Tests show that adding these indexes should be very fast (< 1 s) if the
tables contain up to 300k rows.
2023-10-31 15:11:24 +00:00
..
adapters Removed Bluebird from tests 2023-06-23 10:03:03 +02:00
data Added indexes to members_created_events and members_subscription_created_events (#18805) 2023-10-31 15:11:24 +00:00
lib Upgraded to latest version of @tryghost/request 2023-09-26 12:45:14 +01:00
models Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
services Redesigned Admin settings (#18545) 2023-10-10 07:37:01 +01:00
web Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
notify.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
overrides.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00