Measure and optimize NitroCine server queries, cache behavior, response work, client rendering, and collection algorithms. Use for latency, throughput, render churn, nested loops, repeated array scans, cache hit rate, or performance regression work.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add HoangDuc1003/Cinema-booking --skill performance-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Performance Optimization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangduc1003-performance-optimization)More formats (shields.io, HTML) on the badges page.
---
name: performance-optimization
description: Measure and optimize NitroCine server queries, cache behavior, response work, client rendering, and collection algorithms. Use for latency, throughput, render churn, nested loops, repeated array scans, cache hit rate, or performance regression work.
---
# Optimize Performance
1. Identify the hot path and establish a before/after measure or complexity argument.
2. Remove repeated linear scans by building `Set` or `Map` once per input version.
3. Use `.lean()`, field selection, indexes, and bounded queries for read-heavy Mongoose paths.
4. Cache only stable, expensive reads; choose TTL from freshness needs and define invalidation first.
5. Memoize derived React collections and callbacks only where they reduce actual repeated work.
6. Avoid `JSON.stringify` equality checks on polling hot paths when a normalized set comparison suffices.
7. Preserve correctness before reducing latency, especially in booking inventory.
8. Run syntax, tests, lint/build, and a focused benchmark or concurrency simulation.
Report the old and new complexity, expected operational effect, cache trade-offs, and measurement limitations.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
使用pytest、TDD方法、夹具、模拟、参数化和覆盖率要求的Python测试策略。