パフォーマンステストは、様々な条件下での負荷に対してシステムがどのように動作するかを評価し、速度、スケーラビリティ、安定性を測定します。種類にはロード、ストレス、スパイク、ソーク(耐久)テストがあります。実世界の使用状況とピーク時の使用状況を適切に処理できることを確認するために不可欠です。
パフォーマンステストが測定するもの
Non-functional testing of HOW WELL the system performs (not just correctness):
→ RESPONSE TIME / latency (how fast?), THROUGHPUT (requests/sec handled)
→ SCALABILITY (behavior as load grows), RESOURCE usage (CPU, memory)
→ STABILITY under sustained or extreme load
→ ensures the system meets performance requirements and handles real usage.
パフォーマンステストの種類
LOAD testing → expected/normal load → does it meet targets under typical usage?
STRESS testing → BEYOND normal limits → find the breaking point; how it fails/recovers
SPIKE testing → sudden sharp load increase → handles bursts? (e.g. a flash sale)
SOAK / endurance → sustained load over a LONG time → finds memory leaks, degradation
SCALABILITY → how performance changes as load/resources scale
