SlideShare a Scribd company logo
PVS-Studio and Hardware. What is Faster: 
a Laptop or a Desktop? 
Author: Evgeniy Ryzhkov 
Date: 04.10.2013 
Performance of a static code analyzer is a very important parameter. The faster it takes an analyzer to check 
code, the more often people will use it. We ran another benchmark the other day to measure our analyzer's 
speed on different computers, and this is what we are going to tell you about in this article. 
So, we have two computers to measure the analyzer's performance: 
The first computer (a desktop): 
• Processor - Intel Core i5-2500 CPU @ 3.30Ghz, 4 cores; 
• RAM - 8Gb; 
• HDD - SSD. 
The second computer (a laptop): 
• Processor - Intel Core i5-2467M CPU @ 1.60Ghz, 4 cores; 
• RAM - 4Gb; 
• HDD - SSD. 
Those familiar with Intel processor markings understand that although the numbers in the models' names 
(2500 and 2467M) are very close, the laptop's processor is in fact somewhat more ordinary. 
When carrying out this test, we were interested to find out to what extent the processor itself affects the 
speed of code analysis. The fact that an SSD disk helps enhance performance pretty much was obvious to us 
long ago. We mentioned this in Tips on speeding up PVS-Studio, as well as the idea that more processor 
cores imply a faster analysis.
The fact that our laptop had only 4 Gbytes of RAM didn't affect the analysis speed much, for both the 
computers had 4 processor cores, and the ratio 1 Gbyte per core is a very good configuration for PVS-Studio. 
Those fond of Windows Experience Index, here you are the figures (obviously, the desktop has a higher 
index): 
• processor: 7.5 vs 6.1; 
• RAM: 7.5 vs 5.9 (the laptop's index is low mainly because of the memory amount in the system). 
Now a few words about the benchmark methodology. We have a test suite of 80 small and medium 
projects. A special utility (the tester) opens these projects, checks them and saves the report. It is the time it 
takes the tester to finish its work that we measure, i.e. the "astronomical" time. 
Results: the desktop is faster than the laptop (yours, Captain Obvious) 
Analysis ran for one hour ten minutes (1:10) on the desktop and three hours thirteen minutes (3:13) on the 
laptop. The difference is almost three times (2.75, to be exact). 
So, if you use a static code analyzer regularly - whether it is PVS-Studio, CppCheck or Clang's analyzer, - 
make sure you have a high-performance processor. It will make you happier - sometimes almost three times 
as much.

More Related Content

PDF
Gluster Metrics: why they are crucial for running stable deployments of all s...
PPTX
GUI overhead
PPTX
Sql Server Best Practices
PPT
PDF
Introducing NetBSD 5.0
PDF
Tips on High Performance Server Programming
PDF
Let’s Fix Logging Once and for All
PDF
Boyan Ivanov - latency, the #1 metric of your cloud
Gluster Metrics: why they are crucial for running stable deployments of all s...
GUI overhead
Sql Server Best Practices
Introducing NetBSD 5.0
Tips on High Performance Server Programming
Let’s Fix Logging Once and for All
Boyan Ivanov - latency, the #1 metric of your cloud

What's hot (20)

PDF
DB Latency Using DRAM + PMem in App Direct & Memory Modes
PDF
Speeding up your testflow
PPTX
Virtualization and SAN Basics for DBAs
PPTX
How to Keep Your Data Safe in MongoDB
PPTX
Keeping MongoDB Data Safe
PDF
Get Lower Latency and Higher Throughput for Java Applications
PDF
Cassandra Day Atlanta 2015: Recording the Web: High-Fidelity Storage and Play...
PDF
Crimson: Ceph for the Age of NVMe and Persistent Memory
PDF
Speed up application testing with azure container instances
PDF
Where Did All These Cycles Go?
PDF
Rust, Wright's Law, and the Future of Low-Latency Systems
PPTX
WebLogic Stability; Detect and Analyse Stuck Threads
PPTX
C# Job System + ECS Usage and Demo with Intel
PDF
Odoo Performance Limits
PPTX
epoll() - The I/O Hero
PDF
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
PPTX
Peter Mihalik: Puppet
PDF
Seastore: Next Generation Backing Store for Ceph
PDF
Scaling Apache Pulsar to 10 Petabytes/Day
PDF
SVC / Storwize analysis cost effective storage planning (use case)
DB Latency Using DRAM + PMem in App Direct & Memory Modes
Speeding up your testflow
Virtualization and SAN Basics for DBAs
How to Keep Your Data Safe in MongoDB
Keeping MongoDB Data Safe
Get Lower Latency and Higher Throughput for Java Applications
Cassandra Day Atlanta 2015: Recording the Web: High-Fidelity Storage and Play...
Crimson: Ceph for the Age of NVMe and Persistent Memory
Speed up application testing with azure container instances
Where Did All These Cycles Go?
Rust, Wright's Law, and the Future of Low-Latency Systems
WebLogic Stability; Detect and Analyse Stuck Threads
C# Job System + ECS Usage and Demo with Intel
Odoo Performance Limits
epoll() - The I/O Hero
Extreme HTTP Performance Tuning: 1.2M API req/s on a 4 vCPU EC2 Instance
Peter Mihalik: Puppet
Seastore: Next Generation Backing Store for Ceph
Scaling Apache Pulsar to 10 Petabytes/Day
SVC / Storwize analysis cost effective storage planning (use case)
Ad

Similar to WTF? (20)

ODP
Using ТРСС to study Firebird performance
PDF
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
PPT
How Many Slaves (Ukoug)
PDF
Testing pc’s performance
ODP
WMS Performance Shootout 2010
PDF
Database Performance of Intel Cache Acceleration Software
PDF
Topics - , Addressing modes, GPU, .pdf
PDF
Realize better value and performance migrating from Azure Database for Postgr...
PDF
Lecture for the day three in jj3 ppt.pdf
PDF
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
PDF
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
PDF
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
PPTX
Fastest Servlets in the West
PPTX
Factors influencing the success of computer architecture
PPT
Lamp Stack Optimization
PDF
High performance json- postgre sql vs. mongodb
PDF
Whitepaper: Where did my CPU go?
PDF
Get a clearer picture of potential cloud performance by looking beyond SPECra...
PPTX
Accelerating hbase with nvme and bucket cache
DOCX
How to choose the right server
Using ТРСС to study Firebird performance
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
How Many Slaves (Ukoug)
Testing pc’s performance
WMS Performance Shootout 2010
Database Performance of Intel Cache Acceleration Software
Topics - , Addressing modes, GPU, .pdf
Realize better value and performance migrating from Azure Database for Postgr...
Lecture for the day three in jj3 ppt.pdf
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
MongoDB World 2019: Finding the Right MongoDB Atlas Cluster Size: Does This I...
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Fastest Servlets in the West
Factors influencing the success of computer architecture
Lamp Stack Optimization
High performance json- postgre sql vs. mongodb
Whitepaper: Where did my CPU go?
Get a clearer picture of potential cloud performance by looking beyond SPECra...
Accelerating hbase with nvme and bucket cache
How to choose the right server
Ad

More from Andrey Karpov (20)

PDF
60 антипаттернов для С++ программиста
PDF
60 terrible tips for a C++ developer
PPTX
Ошибки, которые сложно заметить на code review, но которые находятся статичес...
PDF
PVS-Studio in 2021 - Error Examples
PDF
PVS-Studio in 2021 - Feature Overview
PDF
PVS-Studio в 2021 - Примеры ошибок
PDF
PVS-Studio в 2021
PPTX
Make Your and Other Programmer’s Life Easier with Static Analysis (Unreal Eng...
PPTX
Best Bugs from Games: Fellow Programmers' Mistakes
PPTX
Does static analysis need machine learning?
PPTX
Typical errors in code on the example of C++, C#, and Java
PPTX
How to Fix Hundreds of Bugs in Legacy Code and Not Die (Unreal Engine 4)
PPTX
Game Engine Code Quality: Is Everything Really That Bad?
PPTX
C++ Code as Seen by a Hypercritical Reviewer
PPTX
The Use of Static Code Analysis When Teaching or Developing Open-Source Software
PPTX
Static Code Analysis for Projects, Built on Unreal Engine
PPTX
Safety on the Max: How to Write Reliable C/C++ Code for Embedded Systems
PPTX
The Great and Mighty C++
PPTX
Static code analysis: what? how? why?
PDF
Zero, one, two, Freddy's coming for you
60 антипаттернов для С++ программиста
60 terrible tips for a C++ developer
Ошибки, которые сложно заметить на code review, но которые находятся статичес...
PVS-Studio in 2021 - Error Examples
PVS-Studio in 2021 - Feature Overview
PVS-Studio в 2021 - Примеры ошибок
PVS-Studio в 2021
Make Your and Other Programmer’s Life Easier with Static Analysis (Unreal Eng...
Best Bugs from Games: Fellow Programmers' Mistakes
Does static analysis need machine learning?
Typical errors in code on the example of C++, C#, and Java
How to Fix Hundreds of Bugs in Legacy Code and Not Die (Unreal Engine 4)
Game Engine Code Quality: Is Everything Really That Bad?
C++ Code as Seen by a Hypercritical Reviewer
The Use of Static Code Analysis When Teaching or Developing Open-Source Software
Static Code Analysis for Projects, Built on Unreal Engine
Safety on the Max: How to Write Reliable C/C++ Code for Embedded Systems
The Great and Mighty C++
Static code analysis: what? how? why?
Zero, one, two, Freddy's coming for you

Recently uploaded (20)

PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
introduction to high performance computing
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
Design Guidelines and solutions for Plastics parts
PPT
Occupational Health and Safety Management System
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PPTX
communication and presentation skills 01
PPT
Total quality management ppt for engineering students
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PPTX
Current and future trends in Computer Vision.pptx
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
III.4.1.2_The_Space_Environment.p pdffdf
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
distributed database system" (DDBS) is often used to refer to both the distri...
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
August 2025 - Top 10 Read Articles in Network Security & Its Applications
introduction to high performance computing
Exploratory_Data_Analysis_Fundamentals.pdf
Design Guidelines and solutions for Plastics parts
Occupational Health and Safety Management System
Fundamentals of safety and accident prevention -final (1).pptx
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
communication and presentation skills 01
Total quality management ppt for engineering students
R24 SURVEYING LAB MANUAL for civil enggi
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Information Storage and Retrieval Techniques Unit III
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Current and future trends in Computer Vision.pptx

WTF?

  • 1. PVS-Studio and Hardware. What is Faster: a Laptop or a Desktop? Author: Evgeniy Ryzhkov Date: 04.10.2013 Performance of a static code analyzer is a very important parameter. The faster it takes an analyzer to check code, the more often people will use it. We ran another benchmark the other day to measure our analyzer's speed on different computers, and this is what we are going to tell you about in this article. So, we have two computers to measure the analyzer's performance: The first computer (a desktop): • Processor - Intel Core i5-2500 CPU @ 3.30Ghz, 4 cores; • RAM - 8Gb; • HDD - SSD. The second computer (a laptop): • Processor - Intel Core i5-2467M CPU @ 1.60Ghz, 4 cores; • RAM - 4Gb; • HDD - SSD. Those familiar with Intel processor markings understand that although the numbers in the models' names (2500 and 2467M) are very close, the laptop's processor is in fact somewhat more ordinary. When carrying out this test, we were interested to find out to what extent the processor itself affects the speed of code analysis. The fact that an SSD disk helps enhance performance pretty much was obvious to us long ago. We mentioned this in Tips on speeding up PVS-Studio, as well as the idea that more processor cores imply a faster analysis.
  • 2. The fact that our laptop had only 4 Gbytes of RAM didn't affect the analysis speed much, for both the computers had 4 processor cores, and the ratio 1 Gbyte per core is a very good configuration for PVS-Studio. Those fond of Windows Experience Index, here you are the figures (obviously, the desktop has a higher index): • processor: 7.5 vs 6.1; • RAM: 7.5 vs 5.9 (the laptop's index is low mainly because of the memory amount in the system). Now a few words about the benchmark methodology. We have a test suite of 80 small and medium projects. A special utility (the tester) opens these projects, checks them and saves the report. It is the time it takes the tester to finish its work that we measure, i.e. the "astronomical" time. Results: the desktop is faster than the laptop (yours, Captain Obvious) Analysis ran for one hour ten minutes (1:10) on the desktop and three hours thirteen minutes (3:13) on the laptop. The difference is almost three times (2.75, to be exact). So, if you use a static code analyzer regularly - whether it is PVS-Studio, CppCheck or Clang's analyzer, - make sure you have a high-performance processor. It will make you happier - sometimes almost three times as much.