597 lines
16 KiB
JSON
597 lines
16 KiB
JSON
{
|
|
"date": "2026-11-15T22:11:05.578Z",
|
|
"node": "v24.16.0",
|
|
"cpu": "13th Gen Intel(R) Core(TM) i7-13650HX",
|
|
"dataset": {
|
|
"users": 60,
|
|
"posts": 50000
|
|
},
|
|
"durationSeconds": 5,
|
|
"dependencyMode": "local MongoDB, no Redis/external services",
|
|
"workloads": {},
|
|
"searchPlans": [
|
|
{
|
|
"text": "music",
|
|
"total": 50000,
|
|
"equivalent": true,
|
|
"timings": {
|
|
"separate": {
|
|
"medianMs": 391.77,
|
|
"maxMs": 414.94
|
|
},
|
|
"inferredTotal": {
|
|
"medianMs": 387.6,
|
|
"maxMs": 411.18
|
|
}
|
|
},
|
|
"findPlan": {
|
|
"docsExamined": 20,
|
|
"keysExamined": 20,
|
|
"plan": {
|
|
"isCached": false,
|
|
"stage": "LIMIT",
|
|
"limitAmount": 20,
|
|
"inputStage": {
|
|
"stage": "PROJECTION_SIMPLE",
|
|
"transformBy": {
|
|
"videoJob": 0
|
|
},
|
|
"inputStage": {
|
|
"stage": "FETCH",
|
|
"filter": {
|
|
"$and": [
|
|
{
|
|
"$or": [
|
|
{
|
|
"authorId": {
|
|
"$eq": "000000000000000000000001"
|
|
}
|
|
},
|
|
{
|
|
"visibility": {
|
|
"$eq": "public"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$or": [
|
|
{
|
|
"content": {
|
|
"$regex": "music",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"hashtags": {
|
|
"$regex": "music",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"maqam": {
|
|
"$regex": "music",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"rhythmSignature": {
|
|
"$regex": "music",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"style": {
|
|
"$regex": "music",
|
|
"$options": "i"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"isArchived": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"isDeleted": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"moderationStatus": {
|
|
"$not": {
|
|
"$eq": "hidden"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"processingStatus": {
|
|
"$not": {
|
|
"$in": [
|
|
"failed",
|
|
"pending",
|
|
"processing"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inputStage": {
|
|
"stage": "IXSCAN",
|
|
"keyPattern": {
|
|
"createdAt": -1
|
|
},
|
|
"indexName": "feed_recent_order_v1",
|
|
"isMultiKey": false,
|
|
"multiKeyPaths": {
|
|
"createdAt": []
|
|
},
|
|
"isUnique": false,
|
|
"isSparse": false,
|
|
"isPartial": false,
|
|
"indexVersion": 2,
|
|
"direction": "forward",
|
|
"indexBounds": {
|
|
"createdAt": [
|
|
"[MaxKey, MinKey]"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"text": "genre0",
|
|
"total": 5000,
|
|
"equivalent": true,
|
|
"timings": {
|
|
"separate": {
|
|
"medianMs": 408.81,
|
|
"maxMs": 627.16
|
|
},
|
|
"inferredTotal": {
|
|
"medianMs": 419.8,
|
|
"maxMs": 495.09
|
|
}
|
|
},
|
|
"findPlan": {
|
|
"docsExamined": 191,
|
|
"keysExamined": 191,
|
|
"plan": {
|
|
"isCached": false,
|
|
"stage": "LIMIT",
|
|
"limitAmount": 20,
|
|
"inputStage": {
|
|
"stage": "PROJECTION_SIMPLE",
|
|
"transformBy": {
|
|
"videoJob": 0
|
|
},
|
|
"inputStage": {
|
|
"stage": "FETCH",
|
|
"filter": {
|
|
"$and": [
|
|
{
|
|
"$or": [
|
|
{
|
|
"authorId": {
|
|
"$eq": "000000000000000000000001"
|
|
}
|
|
},
|
|
{
|
|
"visibility": {
|
|
"$eq": "public"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$or": [
|
|
{
|
|
"content": {
|
|
"$regex": "genre0",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"hashtags": {
|
|
"$regex": "genre0",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"maqam": {
|
|
"$regex": "genre0",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"rhythmSignature": {
|
|
"$regex": "genre0",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"style": {
|
|
"$regex": "genre0",
|
|
"$options": "i"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"isArchived": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"isDeleted": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"moderationStatus": {
|
|
"$not": {
|
|
"$eq": "hidden"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"processingStatus": {
|
|
"$not": {
|
|
"$in": [
|
|
"failed",
|
|
"pending",
|
|
"processing"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inputStage": {
|
|
"stage": "IXSCAN",
|
|
"keyPattern": {
|
|
"createdAt": -1
|
|
},
|
|
"indexName": "feed_recent_order_v1",
|
|
"isMultiKey": false,
|
|
"multiKeyPaths": {
|
|
"createdAt": []
|
|
},
|
|
"isUnique": false,
|
|
"isSparse": false,
|
|
"isPartial": false,
|
|
"indexVersion": 2,
|
|
"direction": "forward",
|
|
"indexBounds": {
|
|
"createdAt": [
|
|
"[MaxKey, MinKey]"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"text": "post 12345",
|
|
"total": 1,
|
|
"equivalent": true,
|
|
"timings": {
|
|
"separate": {
|
|
"medianMs": 548.18,
|
|
"maxMs": 4351.5
|
|
},
|
|
"inferredTotal": {
|
|
"medianMs": 528.56,
|
|
"maxMs": 2703.59
|
|
}
|
|
},
|
|
"findPlan": {
|
|
"docsExamined": 50000,
|
|
"keysExamined": 50000,
|
|
"plan": {
|
|
"isCached": false,
|
|
"stage": "LIMIT",
|
|
"limitAmount": 20,
|
|
"inputStage": {
|
|
"stage": "PROJECTION_SIMPLE",
|
|
"transformBy": {
|
|
"videoJob": 0
|
|
},
|
|
"inputStage": {
|
|
"stage": "FETCH",
|
|
"filter": {
|
|
"$and": [
|
|
{
|
|
"$or": [
|
|
{
|
|
"authorId": {
|
|
"$eq": "000000000000000000000001"
|
|
}
|
|
},
|
|
{
|
|
"visibility": {
|
|
"$eq": "public"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$or": [
|
|
{
|
|
"content": {
|
|
"$regex": "post 12345",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"hashtags": {
|
|
"$regex": "post 12345",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"maqam": {
|
|
"$regex": "post 12345",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"rhythmSignature": {
|
|
"$regex": "post 12345",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"style": {
|
|
"$regex": "post 12345",
|
|
"$options": "i"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"isArchived": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"isDeleted": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"moderationStatus": {
|
|
"$not": {
|
|
"$eq": "hidden"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"processingStatus": {
|
|
"$not": {
|
|
"$in": [
|
|
"failed",
|
|
"pending",
|
|
"processing"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inputStage": {
|
|
"stage": "IXSCAN",
|
|
"keyPattern": {
|
|
"createdAt": -1
|
|
},
|
|
"indexName": "feed_recent_order_v1",
|
|
"isMultiKey": false,
|
|
"multiKeyPaths": {
|
|
"createdAt": []
|
|
},
|
|
"isUnique": false,
|
|
"isSparse": false,
|
|
"isPartial": false,
|
|
"indexVersion": 2,
|
|
"direction": "forward",
|
|
"indexBounds": {
|
|
"createdAt": [
|
|
"[MaxKey, MinKey]"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"text": "not-present-in-fixture",
|
|
"total": 0,
|
|
"equivalent": true,
|
|
"timings": {
|
|
"separate": {
|
|
"medianMs": 519.4,
|
|
"maxMs": 538.01
|
|
},
|
|
"inferredTotal": {
|
|
"medianMs": 526.88,
|
|
"maxMs": 560.15
|
|
}
|
|
},
|
|
"findPlan": {
|
|
"docsExamined": 50000,
|
|
"keysExamined": 50000,
|
|
"plan": {
|
|
"isCached": false,
|
|
"stage": "LIMIT",
|
|
"limitAmount": 20,
|
|
"inputStage": {
|
|
"stage": "PROJECTION_SIMPLE",
|
|
"transformBy": {
|
|
"videoJob": 0
|
|
},
|
|
"inputStage": {
|
|
"stage": "FETCH",
|
|
"filter": {
|
|
"$and": [
|
|
{
|
|
"$or": [
|
|
{
|
|
"authorId": {
|
|
"$eq": "000000000000000000000001"
|
|
}
|
|
},
|
|
{
|
|
"visibility": {
|
|
"$eq": "public"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$or": [
|
|
{
|
|
"content": {
|
|
"$regex": "not-present-in-fixture",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"hashtags": {
|
|
"$regex": "not-present-in-fixture",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"maqam": {
|
|
"$regex": "not-present-in-fixture",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"rhythmSignature": {
|
|
"$regex": "not-present-in-fixture",
|
|
"$options": "i"
|
|
}
|
|
},
|
|
{
|
|
"style": {
|
|
"$regex": "not-present-in-fixture",
|
|
"$options": "i"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"isArchived": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"isDeleted": {
|
|
"$not": {
|
|
"$eq": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"moderationStatus": {
|
|
"$not": {
|
|
"$eq": "hidden"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"processingStatus": {
|
|
"$not": {
|
|
"$in": [
|
|
"failed",
|
|
"pending",
|
|
"processing"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"inputStage": {
|
|
"stage": "IXSCAN",
|
|
"keyPattern": {
|
|
"createdAt": -1
|
|
},
|
|
"indexName": "feed_recent_order_v1",
|
|
"isMultiKey": false,
|
|
"multiKeyPaths": {
|
|
"createdAt": []
|
|
},
|
|
"isUnique": false,
|
|
"isSparse": false,
|
|
"isPartial": false,
|
|
"indexVersion": 2,
|
|
"direction": "forward",
|
|
"indexBounds": {
|
|
"createdAt": [
|
|
"[MaxKey, MinKey]"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"trendingExplain": {
|
|
"nReturned": 20,
|
|
"totalKeysExamined": 20,
|
|
"totalDocsExamined": 20,
|
|
"hasBlockingSort": false
|
|
},
|
|
"deepPaginationExplain": {
|
|
"offset": 4000,
|
|
"skip": {
|
|
"returned": 20,
|
|
"keysExamined": 4020,
|
|
"docsExamined": 4020
|
|
},
|
|
"keyset": {
|
|
"returned": 20,
|
|
"keysExamined": 248,
|
|
"docsExamined": 248
|
|
}
|
|
},
|
|
"feedCandidateValidation": {
|
|
"rankingRows": 400,
|
|
"hydratedRankingRows": 0,
|
|
"hydratedPageRows": 20,
|
|
"deletionRecheck": "passed"
|
|
},
|
|
"keysetValidation": {
|
|
"tiedRanks": "passed",
|
|
"insertionAhead": "passed",
|
|
"deletionAhead": "passed"
|
|
}
|
|
}
|