Gang Of Coders
Home
About Us
Contact Us
All Performance Solutions on Gang of Coders
Total of 1060 Performance Solutions
Why is processing a sorted array faster than processing an unsorted array?
Java
C++
Performance
Cpu Architecture
Branch Prediction
Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"?
Javascript
Html
Performance
Optimization
Href
Why is the Android emulator so slow? How can we speed up the Android emulator?
Android
Performance
Android Emulator
Genymotion
Qemu
What is the difference between call and apply?
Javascript
Performance
Function
Dynamic
Improve INSERT-per-second performance of SQLite
C
Performance
Sqlite
Optimization
Why is printing "B" dramatically slower than printing "#"?
Java
Performance
Loops
For Loop
system.out
How does database indexing work?
Sql
Database
Performance
Indexing
Database Indexes
Why is "1000000000000000 in range(1000000000000001)" so fast in Python 3?
Python
Performance
Python 3.x
Range
Python Internals
Why are elementwise additions much faster in separate loops than in a combined loop?
C++
Performance
X86
Vectorization
Compiler Optimization
How to efficiently count the number of keys/properties of an object in JavaScript
Javascript
Performance
Properties
Count
Key
How to measure elapsed time in Python?
Python
Performance
Measure
Timeit
Is < faster than <=?
C++
C
Performance
Assembly
Relational Operators
Why does changing 0.1f to 0 slow down performance by 10x?
C++
Performance
Visual Studio-2010
Compilation
Floating Point
Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs
C++
Performance
Assembly
X86
Compiler Optimization
How do I profile a Python script?
Python
Performance
Optimization
Time Complexity
Profiling
String formatting: % vs. .format vs. f-string literal
Python
Performance
Logging
String Formatting
F String
\d less efficient than [0-9]
C#
Regex
Performance
How can you speed up Eclipse?
Eclipse
Performance
What do Clustered and Non-Clustered index actually mean?
Sql Server
Performance
Indexing
Clustered Index
Non Clustered-Index
Fastest way to check if a value exists in a list
Python
Performance
List
Get difference between two lists
Python
Performance
List
Set
Set Difference
When should I use CROSS APPLY over INNER JOIN?
Sql
Sql Server
Performance
Tsql
Cross Apply
StringBuilder vs String concatenation in toString() in Java
Java
Performance
String
Concatenation
Stringbuilder
Swift Beta performance: sorting arrays
Swift
Performance
Sorting
Xcode6
Compiler Optimization
How can I read a large text file line by line using Java?
Java
Performance
File Io
Io
Garbage Collection
Should CSS always precede Javascript?
Javascript
Css
Performance
Big O, how do you calculate/approximate it?
Algorithm
Optimization
Complexity Theory
Big O
Performance
Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly?
C++
Performance
Assembly
Optimization
X86
Why does Python code run faster in a function?
Python
Performance
Profiling
Benchmarking
Cpython
Why is 2 * (i * i) faster than 2 * i * i in Java?
Java
Performance
Benchmarking
Bytecode
Jit
MyISAM versus InnoDB
Mysql
Database
Performance
Innodb
Myisam
Efficiency of Java "Double Brace Initialization"?
Java
Performance
Collections
Initialization
How to create a new object instance from a Type
C#
.Net
Performance
Reflection
Types
What is a "cache-friendly" code?
C++
Performance
Caching
Memory
Cpu Cache
Count(*) vs Count(1) - SQL Server
Sql
Sql Server
Performance
Why is my program slow when looping over exactly 8192 elements?
C++
Performance
Memory Management
Gcc
Why shouldn't I use PyPy over CPython if PyPy is 6.3 times faster?
Python
Performance
Jit
Pypy
Cpython
Why is [] faster than list()?
Python
Performance
List
Instantiation
Literals
Which Python memory profiler is recommended?
Python
Performance
Memory Management
Profiling
Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell
Python
C
Performance
Haskell
Erlang
When to use CouchDB over MongoDB and vice versa
Mongodb
Performance
Comparison
Couchdb
Nosql
What is the runtime performance cost of a Docker container?
Linux
Docker
Performance
Virtual Machine
Containerd
Which method performs better: .Any() vs .Count() > 0?
.Net
Linq
Performance
.Net 3.5
Extension Methods
What's the best way to convert a number to a string in JavaScript?
Javascript
String
Performance
Coding Style
Numbers
Preferred method to store PHP arrays (json_encode vs serialize)
Php
Performance
Arrays
Json
Serialization
Performance optimization strategies of last resort
Performance
Optimization
Language Agnostic
Which is faster: while(1) or while(2)?
C
Performance
While Loop
Comparing two byte arrays in .NET
C#
.Net
Arrays
Performance
J#
Why does C++ compilation take so long?
C++
Performance
Compilation
Is it better to call ToList() or ToArray() in LINQ queries?
.Net
Linq
Performance
Convert Set to List without creating new List
Java
Performance
List
Set
Make first letter of a string upper case (with maximum performance)
C#
Performance
How can I determine whether a 2D Point is within a Polygon?
Performance
Graphics
Collision Detection
Polygon
Point in-Polygon
Most efficient way to map function over numpy array
Python
Performance
Numpy
What is the best way to paginate results in SQL Server
Sql
Sql Server
Performance
Pagination
What are the effects of exceptions on performance in Java?
Java
Performance
Exception
Which is faster: Stack allocation or Heap allocation
C++
Performance
Memory
Stack
Heap Memory
Best way to reverse a string
C#
.Net
Performance
Algorithm
Unicode
Is there a performance difference between i++ and ++i in C?
C
Performance
Optimization
Post Increment
Pre Increment
When is assembly faster than C?
C
Performance
Assembly
Why does GCC generate 15-20% faster code if I optimize for size instead of speed?
C++
Performance
Gcc
X86 64
Compiler Optimization
HashSet vs. List performance
.Net
Performance
Collections
List
Hash
Is DateTime.Now the best way to measure a function's performance?
C#
.Net
Performance
Datetime
Timer
Static linking vs dynamic linking
C++
C
Performance
Static Linking
Dynamic Linking
Is there any advantage of using map over unordered_map in case of trivial keys?
C++
Performance
Dictionary
Unordered Map
Is Fortran easier to optimize than C for heavy calculations?
C
Performance
Fortran
What is the difference between parseInt() and Number()?
Javascript
Performance
Why is (a*b != 0) faster than (a != 0 && b != 0) in Java?
Java
Performance
Processing Efficiency
Microbenchmark
Branch Prediction
How to identify unused CSS definitions from multiple CSS files in a project
Css
Performance
Optimization
Code Cleanup
Best way to select random rows PostgreSQL
Sql
Performance
Postgresql
Random
Efficiency of purely functional programming
Algorithm
Functional Programming
Performance
Is a view faster than a simple query?
Sql
Sql Server
Performance
Fastest way to determine if an integer is between two integers (inclusive) with known sets of values
C++
C
Performance
Math
In .NET, which loop runs faster, 'for' or 'foreach'?
C#
.Net
Performance
For Loop
Is "else if" faster than "switch() case"?
C#
Performance
If Statement
Switch Statement
Handling warning for possible multiple enumeration of IEnumerable
C#
.Net
Performance
Resharper
Why does the order of the loops affect performance when iterating over a 2D array?
C
Performance
For Loop
Optimization
Cpu Cache
Does use of final keyword in Java improve the performance?
Java
Performance
Final
Is there a performance difference between i++ and ++i in C++?
C++
Performance
Oop
Post Increment
Pre Increment
Best way to test if a row exists in a MySQL table
Sql
Mysql
Performance
Exists
When to use StringBuilder in Java
Java
String
Performance
Array or List in Java. Which is faster?
Java
Arrays
List
Performance
Declaring multiple variables in JavaScript
Javascript
Variables
Coding Style
Performance
Declaration
What is the most efficient way to loop through dataframes with pandas?
Python
Pandas
Performance
Dataframe
For Loop
HTTP vs HTTPS performance
Performance
Http
Https
When and why are database joins expensive?
Database
Performance
Join
Relational Database
Denormalization
List of Big-O for PHP functions
Php
Performance
Algorithm
Arrays
Big O
Exact time measurement for performance testing
C#
.Net
Performance
Testing
How do you performance test JavaScript code?
Javascript
Performance
How many threads is too many?
Multithreading
Performance
Threadpool
What's the fastest way to read a text file line-by-line?
C#
.Net
Performance
File Io
Text Files
MySQL vs MongoDB 1000 reads
Mysql
Performance
Mongodb
How do I obtain a Query Execution Plan in SQL Server?
Sql
Sql Server
Performance
Tsql
Sql Execution-Plan
What are the performance characteristics of sqlite with very large database files?
Database
Performance
Sqlite
How to save up another precious HTTP-request for the tiny favicon?
Javascript
Html
Css
Performance
Favicon
Performance surprise with "as" and nullable types
C#
Performance
Clr
Nullable
Unboxing
What is the fastest way to get the value of π?
Performance
Algorithm
Language Agnostic
Unix
Pi
The performance impact of using instanceof in Java
Java
Performance
Instanceof
Is recursion ever faster than looping?
Performance
Loops
Recursion
Iteration
Equals(=) vs. LIKE
Sql
Performance
Equals
Sql Like
Tracking the script execution time in PHP
Php
Performance
regex.test V.S. string.match to know if a string matches a regular expression
Javascript
Regex
Performance
Difference between declaring variables before or in loop?
Java
Performance
Loops
Variables
Initialization
What's the most efficient way to test if two ranges overlap?
Performance
Range
Comparison
Do try/catch blocks hurt performance when exceptions are not thrown?
C#
Performance
Try Catch
numpy: most efficient frequency counts for unique values in an array
Python
Arrays
Performance
Numpy
Why is Haskell (GHC) so darn fast?
Performance
Haskell
Ghc
Higher Order-Functions
Lambda Calculus
Is it safe to shallow clone with --depth 1, create commits, and pull updates again?
Performance
Git
Git Clone
SQL Server: Query fast, but slow from procedure
Sql Server
Performance
Stored Procedures
LINQ: Not Any vs All Don't
C#
.Net
Performance
Linq
Resharper
How much faster is C++ than C#?
C#
C++
Performance
Benchmarking
What's the fastest way to loop through an array in JavaScript?
Javascript
Performance
Loops
I just discovered why all ASP.Net websites are slow, and I am trying to work out what to do about it
asp.net
Performance
Session
Iis
Architecture
Extreme wait-time when taking a SQL Server database offline
Database
Sql Server-2005
Performance
Counting DISTINCT over multiple columns
Sql
Sql Server
Performance
Tsql
Query Optimization
fastest MD5 Implementation in JavaScript
Javascript
Performance
Md5
Performance differences between debug and release builds
C#
.Net
Performance
Debugging
Configuration
Why are some float < integer comparisons four times slower than others?
Python
Performance
Floating Point
Cpython
Python Internals
Are loops really faster in reverse?
Javascript
Performance
Loops
For Loop
While Loop
What is more efficient: Dictionary TryGetValue or ContainsKey+Item?
C#
Performance
Dictionary
INNER JOIN vs LEFT JOIN performance in SQL Server
Sql
Sql Server
Performance
Inner join vs Where
Sql
Performance
Oracle
Are tuples more efficient than lists in Python?
Python
Performance
List
Tuples
Python Internals
Why does Java switch on contiguous ints appear to run faster with added cases?
Java
Performance
Assembly
Compiler Construction
Switch Statement
What makes a SQL statement sargable?
Sql Server
Performance
MySQL INSERT INTO table VALUES.. vs INSERT INTO table SET
Sql
Mysql
Performance
Why is 'x' in ('x',) faster than 'x' == 'x'?
Python
Performance
Python 3.x
Python Internals
Threads vs Processes in Linux
Linux
Performance
Multithreading
Process
How to write a large buffer into a binary file in C++, fast?
C++
Performance
Optimization
File Io
Io
Which part of throwing an Exception is expensive?
Java
Performance
Exception
Fastest way to get the first object from a queryset in django?
Python
Django
Performance
Django Models
Is 'switch' faster than 'if'?
C
Performance
Switch Statement
Assembly
Jump Table
Find out how much memory is being used by an object in Python
Python
Performance
Memory Profiling
Why JSF calls getters multiple times
Performance
Jsf
El
Getter
String vs string in C#
C#
.Net
Performance
String
Types
What blocks Ruby, Python to get Javascript V8 speed?
Javascript
Python
Ruby
Performance
Language Design
Making the Android emulator run faster
Android
Performance
Testing
Android Emulator
Emulation
LIKE vs CONTAINS on SQL Server
Sql Server
Performance
Contains
Sql Like
System.currentTimeMillis() vs. new Date() vs. Calendar.getInstance().getTime()
Java
Performance
Date
Time
Calendar
Network tools that simulate slow network connection
Networking
Performance
Simulate
Append an object to a list in R in amortized constant time, O(1)?
R
Performance
List
Append
Big O
Recursion or Iteration?
Performance
Algorithm
Language Agnostic
Recursion
Creating an empty list in Python
Python
Performance
List
Coding Style
Timeit
Fastest way to remove first char in a String
C#
String
Substring
Performance
Trim
Tactics for using PHP in a high-load site
Php
Performance
High Load
Condition within JOIN or WHERE
Sql
Performance
When to use Vanilla JavaScript vs. jQuery?
Javascript
Jquery
Performance
Why is there a large performance impact when looping over an array with 240 or more elements?
Arrays
Performance
Rust
Llvm Codegen
Ternary operator is twice as slow as an if-else block?
C#
Performance
Conditional Operator
Performing a Stress Test on Web Application?
Web Applications
Stress Testing
Performance
Webapplicationstresstool
Pylot
Why is processing a sorted array slower than an unsorted array?
C#
.Net
Performance
Language Agnostic
Why is transposing a matrix of 512x512 much slower than transposing a matrix of 513x513?
C++
Performance
Optimization
Will using 'var' affect performance?
C#
Performance
Variables
Var
How does Go compile so quickly?
Performance
Go
Build
Compiler Construction
How to get object size in memory?
C#
.Net
Performance
Memory
Profiling
Can the use of C++11's 'auto' improve performance?
C++
Performance
C++11
Auto
std::vector performance regression when enabling C++11
C++
Performance
Gcc
C++11
Vector
Which is faster in Python: x**.5 or math.sqrt(x)?
Python
Performance
Python Sets vs Lists
Python
List
Performance
Data Structures
Set
Why is it faster to check if dictionary contains the key, rather than catch the exception in case it doesn't?
C#
Performance
Dictionary
Should I use Java's String.format() if performance is important?
Java
String
Performance
String Formatting
Micro Optimization
Is std::vector so much slower than plain arrays?
C++
Arrays
Performance
Stl
Vector
Optimise PostgreSQL for fast testing
Sql
Database
Performance
Postgresql
Database Tuning
Advantages to Using Private Static Methods
C#
Performance
How to find the kth largest element in an unsorted array of length n in O(n)?
Performance
Algorithm
Big O
Why is i-- faster than i++ in loops?
Javascript
Performance
Algorithm
Optimization
Performance of Arrays vs. Lists
.Net
Performance
Arrays
Generics
List
Why is C so fast, and why aren't other languages as fast or faster?
C
Performance
String vs. StringBuilder
C#
.Net
Performance
JavaScript variables declare outside or inside loop?
Javascript
Performance
Why would introducing useless MOV instructions speed up a tight loop in x86_64 assembly?
Performance
Optimization
Assembly
X86 64
Freepascal
In general is it better to use one or many useEffect hooks in a single component?
Reactjs
Performance
React Hooks
Architecture
Use Effect
Why use AJAX when WebSockets is available?
Ajax
node.js
Performance
Websocket
How costly is .NET reflection?
C#
.Net
Performance
Reflection
List of strings to one string
C#
String
Performance
Functional Programming
How do I improve ASP.NET MVC application performance?
.Net
asp.net Mvc
Performance
Iis
Getting HTTP code in PHP using curl
Php
Performance
Curl
Http Headers
How to count occurrences of a column value efficiently in SQL?
Sql
Performance
Fastest way to check if string contains only digits in C#
C#
String
Performance
What's quicker and better to determine if an array key exists in PHP?
Php
Performance
postgresql COUNT(DISTINCT ...) very slow
Performance
Postgresql
Count
Distinct
Can modern C++ get you performance for free?
C++
Performance
C++11
Move Semantics
C++14
pandas loc vs. iloc vs. at vs. iat?
Python
Pandas
Performance
Indexing
Lookup
Are list-comprehensions and functional functions faster than "for loops"?
Python
Performance
For Loop
List Comprehension
Map Function
What makes JNI calls slow?
Java
Performance
Java Native-Interface
Node.js vs .Net performance
.Net
Performance
node.js
.toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?
Java
Performance
Coding Style
Using varchar(MAX) vs TEXT on SQL Server
Sql Server
Performance
Text
Varchar
Sql Types
Is it expensive to use try-catch blocks even if an exception is never thrown?
Java
Performance
Try Catch
Simulating Slow Internet Connection
Performance
Networking
Does the C++ standard mandate poor performance for iostreams, or am I just dealing with a poor implementation?
C++
Performance
Iostream
Why does MYSQL higher LIMIT offset slow the query down?
Mysql
Performance
Sql Order-By
Limit
How to find Java Heap Size and Memory Used (Linux)?
Java
Linux
Performance
Memory
Heap Memory
How do I speed up the gwt compiler?
Java
Performance
Gwt
Check if property has attribute
C#
Performance
Speed up the loop operation in R
Performance
R
Loops
Rcpp
R Faq
Spark performance for Scala vs Python
Scala
Performance
Apache Spark
Pyspark
Rdd
MYSQL OR vs IN performance
Mysql
Sql
Performance
Optimization
SQL JOIN vs IN performance?
Sql
Sql Server
Performance
Tsql
How to efficiently remove all null elements from a ArrayList or String Array?
Java
Performance
Loops
For Loop
Arraylist
Reading GHC Core
Performance
Compiler Construction
Haskell
Ghc
Is there a REAL performance difference between INT and VARCHAR primary keys?
Mysql
Performance
Primary Key
Innodb
Myisam
Approximate cost to access various caches and main memory?
Performance
Memory
Latency
Cpu Cache
Low Latency
Should try...catch go inside or outside a loop?
Java
Performance
Loops
Try Catch
How to check which locks are held on a table
Sql
Sql Server
Database
Performance
Sql Server-2005
Android studio takes too much memory
Performance
Android Studio
Unexpected outcome of node.js vs ASP.NET Core performance test
C#
node.js
Performance
asp.net Core
Stress Testing
Is there a performance difference between a for loop and a for-each loop?
Java
Performance
For Loop
How to quickly clear a JavaScript Object?
Javascript
Performance
Which browsers support <script async="async" />?
Javascript
Html
Performance
Asynchronous
Google Analytics
How to change the playing speed of videos in HTML5?
Javascript
Html
Performance
Video
Html5 Video
Why is MATLAB so fast in matrix multiplication?
Performance
Matlab
Matrix
Matrix Multiplication
It is more efficient to use if-return-return or if-else-return?
Python
C
Performance
Compiler Construction
Is !important bad for performance?
Css
Performance
NTFS performance and large volumes of files and directories
Windows
Performance
Filesystems
Ntfs
Python: List vs Dict for look up table
Python
Performance
Is it better to use std::memcpy() or std::copy() in terms to performance?
C++
Performance
Optimization
Is inline assembly language slower than native C++ code?
C++
C
Performance
Assembly
Java Reflection Performance
Java
Performance
Optimization
Reflection
What is the effect of ordering if...else if statements by probability?
C++
Performance
If Statement
Optimization
Branch Prediction
Why is creating a Thread said to be expensive?
Java
Multithreading
Performance
Concurrency
Why does appending "" to a String save memory?
Java
Performance
String
Memory
What does gcc's ffast-math actually do?
Performance
Math
Gcc
Floating Point
Fast Math
How are 3D games so efficient?
Performance
Opengl
Direct3d
How big is too big for a PostgreSQL table?
Sql
Ruby on-Rails
Performance
Postgresql
Database Design
Check if a string contains an element from a list (of strings)
C#
vb.net
List
Coding Style
Performance
Is memcached a dinosaur in comparison to Redis?
Performance
Memcached
Redis
Why do people say that Ruby is slow?
Ruby
Performance
How to "return an object" in C++?
C++
Reference
Performance
Return
Microsoft CDN for jQuery or Google CDN?
Javascript
Jquery
Performance
Httprequest
Cdn
Measure the time it takes to execute a t-sql query
Performance
Sql Server-2005
Controlling fps with requestAnimationFrame?
Javascript
Performance
Animation
Canvas
Requestanimationframe
Fastest way to determine if record exists
Sql
Sql Server
Performance
Select
Count
Most efficient way to concatenate strings in JavaScript?
Javascript
String
Performance
Concatenation
Android webview slow
Android
Performance
Webview
Multiprocessing - Pipe vs Queue
Python
Performance
Queue
Multiprocessing
Pipe
Fastest way to iterate over all the chars in a String
Java
String
Performance
Char
Iteration
Algorithm to calculate the number of divisors of a given number
Performance
Algorithm
Pseudocode
How to deal with a slow SecureRandom generator?
Java
Performance
Security
Random
Entropy
Cached, PHP generated Thumbnails load slowly
Php
Performance
.Htaccess
Cache Control
SQL, Postgres OIDs, What are they and why are they useful?
Sql
Database
Performance
Postgresql
Is Java really slow?
Java
Performance
SQL Server SELECT LAST N Rows
Sql
Sql Server
Performance
Sql Server-2008
Why is if (variable1 % variable2 == 0) inefficient?
Java
Performance
Anatomy of a "Memory Leak"
.Net
Performance
Memory Leaks
Com Interop
jQuery hasClass() - check for more than one class
Jquery
Performance
Jquery Selectors
When should I (not) want to use pandas apply() in my code?
Python
Pandas
Performance
Apply
What are the pros and cons of performing calculations in sql vs. in your application
Java
.Net
Sql
Performance
Postgresql
A fast method to round a double to a 32-bit int explained
C++
C
Performance
Floating Point
How to clear APC cache entries?
Php
Performance
Caching
Apc
What is the most efficient way of finding all the factors of a number in Python?
Python
Algorithm
Python 2.7
Performance
Factorization
Fastest way to replace NAs in a large data.table
R
Performance
Dataframe
data.table
Speed up millions of regex replacements in Python 3
Python
Regex
String
Performance
Replace
How much overhead does SSL impose?
Performance
Sockets
Ssl
Overhead
How does one write code that best utilizes the CPU cache to improve performance?
Caching
Performance
Cpu Cache
Why should I use Google's CDN for jQuery?
Jquery
Performance
Cdn
Is this a "good enough" random algorithm; why isn't it used if it's faster?
Java
Performance
Algorithm
Random
Why is HashSet<Point> so much slower than HashSet<string>?
C#
.Net
Performance
Collections
Hashset
What are the performance implications of using an immediate-mode GUI compared to a retained-mode GUI?
C++
Performance
User Interface
Desktop Application
Immediate Mode
What's the (hidden) cost of Scala's lazy val?
Performance
Scala
Lazy Evaluation
Android - how do I investigate an ANR?
Android
Performance
Android Anr-Dialog
How do you determine the ideal buffer size when using FileInputStream?
Java
Performance
File Io
Filesystems
Buffer
Array vs. Object efficiency in JavaScript
Javascript
Performance
How does Bluebird's util.toFastProperties function make an object's properties "fast"?
Javascript
node.js
Performance
V8
Bluebird
How expensive is RTTI?
C++
Performance
Rtti
Why are nested weights bad for performance? Alternatives?
Android
Android Layout
Performance
How is TeamViewer so fast?
Performance
Network Programming
Operating System
Udp
Remote Desktop
Is Disney's FastPass Valid and/or Useful Queue Theory
Algorithm
Optimization
Performance
Replace values in list using Python
Python
List
Performance
Replace
scala vs java, performance and memory?
Java
Performance
Scala
Memory
Is there a performance impact when calling ToList()?
C#
Arrays
Performance
List
Why is x**4.0 faster than x**4 in Python 3?
Python
Performance
Python 3.x
Python 3.5
Python Internals
Subqueries vs joins
Sql
Mysql
Performance
Database Design
Join
What is considered a good response time for a dynamic, personalized web application?
Performance
Scalability
while (1) Vs. for (;;) Is there a speed difference?
C++
Perl
Optimization
Performance
Does Foreign Key improve query performance?
Sql
Sql Server
Performance
Indexing
Foreign Keys
Java 8: performance of Streams vs Collections
Java
Performance
Collections
Java 8
Java Stream
Why is processing an unsorted array the same speed as processing a sorted array with modern x86-64 clang?
C++
Performance
Clang
Cpu Architecture
Branch Prediction
Is String.Format as efficient as StringBuilder
C#
vb.net
Performance
Stringbuilder
string.format
Apache Spark: map vs mapPartitions?
Performance
Scala
Apache Spark
Rdd
Speed up Spring Boot startup time
Java
Performance
Spring Boot
Startup
Why are Python's arrays slow?
Python
Arrays
Performance
Boxing
Python Internals
What is the best way to set a register to zero in x86 assembly: xor, mov or and?
Performance
Assembly
Optimization
X86
Micro Optimization
Times-two faster than bit-shift, for Python 3.x integers?
Python
Python 3.x
Performance
Bit Shift
Integer Arithmetic
Which are more performant, CTE or temporary tables?
Sql Server
Performance
Sql Server-2008
Temp Tables
Common Table-Expression
Has anyone actually implemented a Fibonacci-Heap efficiently?
Performance
Algorithm
Language Agnostic
Data Structures
Fibonacci Heap
Performance of foreach, array_map with lambda and array_map with static function
Php
Performance
Foreach
Lambda
Array Map
Do sealed classes really offer performance Benefits?
.Net
Optimization
Frameworks
Performance
Ruby Array find_first object?
Ruby
Arrays
Performance
Find
Android Recyclerview vs ListView with Viewholder
Android
Performance
Listview
Android Recyclerview
Performance of Java matrix math libraries?
Java
Math
Matrix
Performance
How do you calculate log base 2 in Java for integers?
Java
Performance
Discrete Mathematics
Logarithm
ByteBuffer.allocate() vs. ByteBuffer.allocateDirect()
Java
Performance
Nio
Bytebuffer
Does the order of where clauses matter in SQL?
Sql
Performance
Where Clause
Is a LINQ statement faster than a 'foreach' loop?
C#
Performance
Linq
Foreach
How do I get Windows to go as fast as Linux for compiling C++?
Windows
Linux
Performance
Compilation
How to benchmark efficiency of PHP script
Php
Performance
Benchmarking
Microtime
IPC performance: Named Pipe vs Socket
Linux
Performance
Sockets
Ipc
Named Pipes
[] and {} vs list() and dict(), which is better?
Python
Performance
List
Dictionary
Prepend text to beginning of string
Javascript
String
Performance
Concat
Jsperf
What is the advantage of using forwarding references in range-based for loops?
C++
Performance
For Loop
C++11
Move Semantics
What is the most ridiculous pessimization you've seen?
Performance
Optimization
How does having a dynamic variable affect performance?
C#
Performance
Dynamic
How slow are .NET exceptions?
C#
.Net
Performance
Exception
Using scanf() in C++ programs is faster than using cin?
C++
C
Performance
Io
Why is arr = [] faster than arr = new Array?
Javascript
Performance
Why is require_once so bad to use?
Php
Performance
Require Once
Debug vs. Release performance
C#
Performance
Debugging
Release
Performance of FOR vs FOREACH in PHP
Php
Arrays
Performance
Foreach
For Loop
Fast check for NaN in NumPy
Python
Performance
Numpy
Nan
Is the "*apply" family really not vectorized?
R
Performance
Loops
Vectorization
Apply
What is the relative performance difference of if/else versus switch statement in Java?
Java
Performance
Switch Statement
If Statement
Two single-column indexes vs one two-column index in MySQL?
Sql
Mysql
Database
Performance
Indexing
MySQL: Fastest way to count number of rows
Mysql
Performance
How much is the overhead of smart pointers compared to normal pointers in C++?
C++
Performance
C++11
Smart Pointers
String Interpolation vs String.Format
C#
String
Performance
Resharper
String Interpolation
Android - Prevent white screen at startup
Java
Android
Multithreading
Performance
Cold Start
Dictionary vs Object - which is more efficient and why?
Python
Performance
Dictionary
Object
How do I measure separate CPU core usage for a process?
Linux
Multicore
Measurement
Performance
Reducing garbage-collection pause time in a Haskell program
Performance
Haskell
Garbage Collection
Ghc
Latency
Virtual functions and performance - C++
C++
Performance
Optimization
Virtual Functions
Any way to write a Windows .bat file to kill processes?
Performance
Batch File
Process
How fast is D compared to C++?
C++
Performance
Runtime
D
Is it faster to count down than it is to count up?
C
Performance
Loops
Performance of static methods vs instance methods
C#
Performance
Static Methods
Il
Performance of Find() vs. FirstOrDefault()
C#
.Net
Performance
Linq
Any optimization for random access on a very big array when the value in 95% of cases is either 0 or 1?
C++
Arrays
Performance
Optimization
Memory Bandwidth
select * vs select column
Sql
Performance
Why can't (or doesn't) the compiler optimize a predictable addition loop into a multiplication?
C
Performance
Compiler Optimization
Why is it slower to iterate over a small string than a small list?
Python
Performance
Cpython
Timeit
Python Internals
Is there a performance gain in using single quotes vs double quotes in ruby?
Ruby
Performance
Syntax
SQL Joins Vs SQL Subqueries (Performance)?
Sql
Performance
Sql Server-2008
Subquery
Join
How to optimize for-comprehensions and loops in Scala?
Java
Performance
Scala
For Loop
While Loop
In what order are Panels the most efficient in terms of render time and performance?
Wpf
Performance
Rendering
Panel
Why "use strict" improves performance 10x in this example?
Javascript
Performance
What's the most efficient test of whether a PHP string ends with another string?
Php
String
Performance
How do I choose grid and block dimensions for CUDA kernels?
Performance
Optimization
Cuda
Gpu
Nvidia
Is "x < y < z" faster than "x < y and y < z"?
Python
Performance
Favourite performance tuning tricks
Sql
Sql Server
Database
Performance
Should one use < or <= in a for loop
Performance
Conventions
Readability
Which is faster in PHP, $array[] = $value or array_push($array, $value)?
Php
Arrays
Performance
Can hash tables really be O(1)?
Algorithm
Performance
Language Agnostic
Big O
Hashtable
Why is this F# code so slow?
C#
Performance
F#
Inline
Xcode 4 - slow performance
Xcode
Performance
Xcode4
Why does direction of index matter in MongoDB?
Mongodb
Performance
Sorting
Indexing
Query Optimization
How is pattern matching in Scala implemented at the bytecode level?
Performance
Scala
Pattern Matching
Bytecode
Efficient evaluation of a function at every cell of a NumPy array
Python
Performance
Function
Numpy
Vectorization
Is there any benefit to upgrading Java 7 compiled code to Java 8?
Java
Performance
Java 8
Should I use multiplication or division?
Performance
Programming Languages
How do exceptions work (behind the scenes) in c++
C++
Performance
Exception
Throw
Try Catch
C# Sort and OrderBy comparison
C#
.Net
Performance
Sorting
Sql Order-By
C++ performance challenge: integer to std::string conversion
C++
Performance
String
Integer
How to calculate the running time of my program?
Java
Performance
Javascript Set vs. Array performance
Javascript
Arrays
Performance
Set
Iteration
How to overload std::swap()
C++
Performance
Optimization
Stl
C++ Faq
How can I measure the speed of code written in PHP?
Php
Testing
Performance
Measurement
Multiple INSERT statements vs. single INSERT with multiple VALUES
Sql
Sql Server
Performance
Sql Server-2008
Tsql
Is the ternary operator faster than an "if" condition in Java
Java
Performance
Optimization
Does pandas iterrows have performance issues?
Python
Performance
Pandas
Iteration
What Process is using all of my disk IO
Linux
Io
Performance
System Administration
Iostat
Cost of exception handlers in Python
Python
Performance
Exception
Micro Optimization
Will console.log reduce JavaScript execution performance?
Javascript
Performance
SQL SELECT speed int vs varchar
Sql
Performance
Postgresql
Select
Why is string concatenation faster than array join?
Javascript
Performance
String Concatenation
HashSet<T> versus Dictionary<K, V> w.r.t searching time to find if an item exists
.Net
Performance
Dictionary
Hashset
C++ performance vs. Java/C#
C#
Java
C++
Performance
Bytecode
Efficient string concatenation in C++
C++
Performance
String
Concatenation
What is the performance cost of having a virtual method in a C++ class?
C++
Performance
Virtual Functions
Coding Practices which enable the compiler/optimizer to make a faster program
C++
C
Performance
Optimization
Using lambda expressions for event handlers
C#
Performance
Events
Lambda
Does the order of LINQ functions matter?
C#
Performance
Linq
Is there any performance reason to declare method parameters final in Java?
Java
Performance
Final
Importance of varchar length in MySQL table
Sql
Mysql
Performance
Types
LINQ Ring: Any() vs Contains() for Huge Collections
C#
Linq
Performance
Benchmarking
Why is pow(a, d, n) so much faster than a**d % n?
Python
Performance
Pypy
v8 JavaScript performance implications of const, let, and var?
Javascript
Performance
Constants
V8
Let
Performance of Pandas apply vs np.vectorize to create new column from existing columns
Python
Arrays
Pandas
Performance
Numpy
Why are the fast integer types faster than the other integer types?
C++
C
Performance
Types
Int
Is String.Contains() faster than String.IndexOf()?
C#
.Net
asp.net
Performance
String
Most memory efficient way to resize bitmaps on android?
Android
Performance
Bitmap
Out of-Memory
Does setting Java objects to null do anything anymore?
Java
Garbage Collection
Performance
Why are my basic Heroku apps taking two seconds to load?
Ruby
Performance
Heroku
What is the fastest way to compare two sets in Java?
Java
Performance
Set
Most efficient way to make the first character of a String lower case?
Java
String
Performance
Optimization
Is a RelativeLayout more expensive than a LinearLayout?
Android
Performance
Android Linearlayout
Android Relativelayout
Clear file cache to repeat performance testing
Performance
File
Caching
Disk
Why is Go so slow (compared to Java)?
Java
Performance
Go
Benchmarking
Most efficient way of making an if-elif-elif-else statement when the else is done the most?
Python
Performance
If Statement
In C++, should I bother to cache variables, or let the compiler do the optimization? (Aliasing)
C++
Performance
Caching
Optimization
Strict Aliasing
If vs. Switch Speed
C#
Performance
Switch Statement
If Statement
Does Java casting introduce overhead? Why?
Java
Performance
Casting
Static Typing
Python vs Bash - In which kind of tasks each one outruns the other performance-wise?
Python
Performance
Bash
How to improve Netbeans performance?
Java
Performance
Jakarta Ee
Netbeans
Count vs len on a Django QuerySet
Python
Django
Performance
Why is creating a new process more expensive on Windows than Linux?
Windows
Linux
Performance
Benchmarking small code samples in C#, can this implementation be improved?
C#
.Net
Performance
Profiling
Getting total row count from OFFSET / FETCH NEXT
Performance
Paging
Sql Server-2012
C# 'is' operator performance
C#
Performance
Clr
Gettype
Fastest way to check if a string matches a regexp in ruby?
Ruby
Regex
Performance
Entity Framework query slow, but same SQL in SqlQuery is fast
Performance
Entity Framework
Ef Code-First
Timertask or Handler
Android
Performance
Timer
Handler
Timertask
Why is SSE scalar sqrt(x) slower than rsqrt(x) * x?
Performance
Assembly
Floating Point
X86
Sse
Fastest method to escape HTML tags as HTML entities?
Javascript
Html
Regex
Performance
String
Should I use "hasClass" before "addClass"?
Jquery
Performance
Addclass
value of using React.forwardRef vs custom ref prop
Javascript
Reactjs
Performance
What's so wrong about using GC.Collect()?
.Net
Performance
Memory Management
Garbage Collection
Best practice for passing many arguments to method?
Java
Performance
Parameters
Parameter Passing
Is C notably faster than C++
C++
C
Performance
What is the performance of Objects/Arrays in JavaScript? (specifically for Google V8)
Javascript
Arrays
Performance
Object
V8
Is PHP's count() function O(1) or O(n) for arrays?
Php
Arrays
Performance
Why seal a class?
.Net
Performance
What is the optimal length for an email address in a database?
Database
Performance
Email
Database Design
Map.clear() vs new Map : Which one will be better?
Java
Android
Performance
Collections
Is it better to reuse a StringBuilder in a loop?
Java
Performance
String
Stringbuilder
Java HashMap performance optimization / alternative
Java
Performance
Optimization
Map
Hashmap
Time complexity of Sieve of Eratosthenes algorithm
Algorithm
Performance
Time Complexity
Sieve of-Eratosthenes
Tools for analyzing performance of a Haskell program
Haskell
Performance
Profiling
Are Java static calls more or less expensive than non-static calls?
Java
Performance
Premature Optimization
What does scale horizontally and scale vertically mean?
Database
Performance
Scalability
Get index of array element faster than O(n)
Ruby
Arrays
Performance
Indexing
Javascript - insert an array inside another array
Javascript
Arrays
Performance
CSS performance relative to translateZ(0)
Performance
Css
Translate Animation
arrayfun can be significantly slower than an explicit loop in matlab. Why?
Arrays
Performance
Matlab
Performance difference for control structures 'for' and 'foreach' in C#
C#
Performance
For Loop
Foreach
fastest (low latency) method for Inter Process Communication between Java and C/C++
Java
C++
Performance
Ipc
Latency
Fastest Way to Serve a File Using PHP
Php
Performance
File Io
X Sendfile
what is faster: in_array or isset?
Php
Performance
Micro Optimization
In java, is it more efficient to use byte or short instead of int and float instead of double?
Java
Performance
Int
Double
Primitive Types
Why does my application spend 24% of its life doing a null check?
C#
Performance
Optimization
Il
Micro Optimization
Checking for empty arrays: count vs empty
Php
Arrays
Performance
Standards
Semantics
What's the fastest way to merge/join data.frames in R?
Performance
R
Join
Merge
data.table
MySQL "IN" operator performance on (large?) number of values
Mysql
Sql
Performance
Operators
Can const-correctness improve performance?
C++
Performance
Const Correctness
ASP.NET MVC Performance
asp.net
asp.net Mvc
Performance
Webforms
When, if ever, is loop unrolling still useful?
Performance
Optimization
Language Agnostic
Micro Optimization
Loop Unrolling
Should Github be used as a CDN for javascript libraries?
Javascript
Performance
Hosting
Why is LINQ JOIN so much faster than linking with WHERE?
.Net
Linq
Performance
Join
Linq to-Dataset
How does _gaq.push(['_trackPageLoadTime']) work?
Javascript
Performance
Html
Google Analytics
External CSS vs inline style performance difference?
Css
Performance
Inline Styles
What is the difference between spark.sql.shuffle.partitions and spark.default.parallelism?
Performance
Apache Spark
Hadoop
Apache Spark-Sql
What is the purpose of the EBP frame pointer register?
Performance
Assembly
X86
Stopwatch vs. using System.DateTime.Now for timing events
C#
Performance
Datetime
Timing
Stopwatch
What is the fastest method for selecting descendant elements in jQuery?
Jquery
Performance
Jquery Selectors
Profiling
Java compile speed vs Scala compile speed
Java
Performance
Scala
Compilation
What is the overhead of Rust's Option type?
Performance
Rust
Null Pointer
What's the difference between BaseAdapter and ArrayAdapter?
Android
Performance
Listview
Android Arrayadapter
Baseadapter
The HashSet<T>.removeAll method is surprisingly slow
Java
Performance
Collections
Hashset
UUID performance in MySQL?
Mysql
Performance
Innodb
Sequence
Uuid
Inefficient jQuery usage warnings in PHPStorm IDE
Jquery
Jquery Selectors
Performance
Is using java Map.containsKey() redundant when using map.get()
Java
Performance
Code Readability
Map
Split a large dataframe into a list of data frames based on common value in column
R
Performance
Matrix
Split
Dataframe
What is the real overhead of try/catch in C#?
C#
.Net
Performance
Optimization
Try Catch
Is Python faster and lighter than C++?
C++
Python
Performance
Memory
Statistics
Javascript when to use prototypes
Javascript
Performance
Prototype
Function Prototypes
Clustered vs Non-Clustered
Sql
Performance
Sql Server-2008
Indexing
How to analyze golang memory?
Performance
Memory
Go
Profile
Laravel Eloquent vs DB facade: Why use Eloquent and decrease performance?
Laravel
Performance
Eloquent
Orm
Query Builder
Visual Studio 2017 is too slow during building and debugging
Visual Studio
Performance
Visual Studio-2017
How do you test running time of VBA code?
Optimization
Testing
Vba
Profiling
Performance
atomic operation cost
Performance
Atomic
Cpu Architecture
Lock Free
delete all from table
Sql
Mysql
Ms Access
Optimization
Performance
Python - How to check list monotonicity
Python
List
Performance
Fastest way to generate a random boolean
C#
Performance
Random
Boolean
Weird performance increase in simple benchmark
C#
Performance
Benchmarking
Cil
Blazor performance
asp.net
Performance
Blazor
Webassembly
Should a developer aim for readability or performance first?
Performance
Readability
Java switch cases: with or without braces?
Java
Performance
Switch Statement
C# vs C - Big performance difference
C#
C
Performance
What is the best way to profile javascript execution?
Javascript
Performance
Browser
Profiling
How many rows in a database are TOO MANY?
Sql
Mysql
Database
Performance
How to profile Javascript now that JSPerf is down?
Javascript
Performance
How do I insert a linebreak where the cursor is without entering into insert mode in Vim?
Vim
Performance
Text Editor
Speedup IntelliJ-Idea
Java
Windows
Performance
Intellij Idea
Why is memmove faster than memcpy?
C++
C
Performance
Memory
Interactive large plot with ~20 million sample points and gigabytes of data
Python
Performance
Matplotlib
Scientific Computing
Why is a conditional move not vulnerable to Branch Prediction Failure?
Performance
Assembly
Optimization
Cpu Architecture
Branch Prediction
Trying to understand gcc option -fomit-frame-pointer
C
Performance
Gcc
Cpu Registers
Stack Frame
Is multiplication faster than float division?
C++
C
Performance
Optimization
Is Laravel really this slow?
Performance
Laravel
Float vs Double Performance
C#
.Net
Clr
Performance
Entity Framework is Too Slow. What are my options?
.Net
Performance
Entity Framework
Orm
Why is long slower than int in x64 Java?
Java
Performance
32bit 64bit
Long Integer
Difference between Jaro-Winkler and Levenshtein distance?
Performance
Algorithm
Levenshtein Distance
Jaro Winkler
Android RecyclerView Scrolling Performance
Java
Android
Performance
Android Recyclerview
The most efficient way to remove first N elements in a list?
Python
Performance
List
Python 2.7
Python 3.x
Why is any (True for ... if cond) much faster than any (cond for ...)?
Python
Performance
Does use of anonymous functions affect performance?
Javascript
Performance
Optimization
Why is looping over range() in Python faster than using a while loop?
Python
Performance
Benchmarking
PostgreSQL: improving pg_dump, pg_restore performance
Performance
Postgresql
Backup
Restore
Android SQLite database: slow insertion
Android
Database
Performance
Sqlite
Insert
Ways to improve git status performance
Performance
Git
Nfs
SQL 'like' vs '=' performance
Sql
Performance
Why are loops slow in R?
Performance
R
Apply
visibility:hidden vs display:none vs opacity:0
Javascript
Css
Performance
Animation
Render
Android onClick in XML vs. OnClickListener
Android
Xml
Performance
Android Fragments
Are ES6 template literals faster than string concatenation?
Javascript
String
Performance
Templates
Ecmascript 6
Why is vectorization, faster in general, than loops?
Performance
Language Agnostic
Vectorization
Simd
Low Level
Max files per directory in S3
Performance
File
Amazon S3
Limit
Directory
Opening/closing tags & performance?
Php
Html
Performance
Templates
Tags
How can I profile my Android app?
Java
Android
Performance
Profiling
How do I do logging in C# without using 3rd party libraries?
C#
.Net
Winforms
Performance
Logging
Fast way to copy dictionary in Python
Python
Performance
Dictionary
Copy
Fastest way to grow a numpy numeric array
Python
Performance
Numpy
Does performance differ between Python or C++ coding of OpenCV?
C++
Python
Performance
Opencv
How can I improve performance via a high-level approach when implementing long equations in C++
C++
Performance
Optimization
Floating Point
G++
Which is more efficient: Return a value vs. Pass by reference?
C++
Performance
Function
Return Value
Pass by-Reference
Unobtrusive JavaScript: <script> at the top or the bottom of the HTML code?
Javascript
Performance
Optimization
Coding Style
Performance of ThreadLocal variable
Java
Multithreading
Performance
Thread Local
Why is tuple faster than list in Python?
Python
Performance
List
Tuples
Compiled C# Lambda Expressions Performance
C#
Performance
Lambda
Expression Trees
If registers are so blazingly fast, why don't we have more of them?
Performance
History
Cpu Registers
Assembly
Java check if boolean is null
Java
Performance
Boolean
Nullable
Endless sine generation in C
C
Performance
Time
Precision
Trigonometry
How do you interpret a query's explain plan?
Sql
Database
Performance
Oracle
Sql Execution-Plan
How can i optimize MySQL's ORDER BY RAND() function?
Mysql
Random
Performance
When should I use ConcurrentSkipListMap?
Java
Performance
Multithreading
Map
Concurrenthashmap
Why is the new Tuple type in .Net 4.0 a reference type (class) and not a value type (struct)
Performance
Class
Struct
.Net 4.0
CSS3 Transitions: Is "transition: all" slower than "transition: x"?
Performance
Css
Css Transitions
str performance in python
Python
String
Performance
Python 3.x
Python 2.7
What are stalled-cycles-frontend and stalled-cycles-backend in 'perf stat' result?
Linux
Performance
Optimization
Computer Architecture
Cpu Architecture
React Navigation vs. React Native Navigation
Performance
React Native
React Navigation
React Native-Navigation
How can Google be so fast?
Performance
Algorithm
Slow debugging issue in Visual Studio
Visual Studio
Debugging
Visual Studio-2008
Performance
What is the recommended batch size for SqlBulkCopy?
.Net
Sql Server
Performance
ado.net
Why do you program in assembly?
C
Performance
Low Level
Assembly
What's the difference between reflow and repaint?
Javascript
Performance
Repaint
Reflow
Field vs Property. Optimisation of performance
C#
.Net
Performance
C# 4.0
Optimization
Do compilers produce better code for do-while loops versus other types of loops?
C
Performance
Compiler Construction
How to benchmark Swift code execution?
Swift
Performance
If statement vs if-else statement, which is faster?
C++
Performance
C++11
Assembly
Microbenchmark
String.Join vs. StringBuilder: which is faster?
.Net
Performance
String
Stringbuilder
Are 64 bit programs bigger and faster than 32 bit versions?
Performance
64 Bit
32 Bit
128 Bit
Huge performance difference when using GROUP BY vs DISTINCT
Sql
Performance
Group By
Distinct
Hsqldb
Java 8 times faster with arrays than std::vector in C++. What did I do wrong?
Java
C++
Arrays
Performance
Stdvector
When should I call SaveChanges() when creating 1000's of Entity Framework objects? (like during an import)
Entity Framework
Import
Loops
Performance
Savechanges
Is it good practice to make getters and setters inline?
C++
Performance
Inline
Getter Setter
How to Perform an UPSERT so that I can use both new and old values in update part
Mysql
Performance
Upsert
java how expensive is a method call
Java
Performance
Methods
Call
ALTER TABLE ADD COLUMN takes a long time
Mysql
Performance
Alter
How to speed adding items to a ListView?
C#
Winforms
Performance
Listview
Java get available memory
Java
Performance
Web Services
Memory
Operating System
What is the best way to measure execution time of a function?
C#
Performance
Benchmarking
Execution Time
PostgreSQL temporary tables
Performance
Postgresql
Optimization
Temp Tables
What is more efficient: System.arraycopy or Arrays.copyOf?
Java
Arrays
Performance
Why are Python Programs often slower than the Equivalent Program Written in C or C++?
C++
Python
C
Performance
Programming Languages
Ternary operator ?: vs if...else
C++
Performance
Conditional Operator
Which "if" construct is faster - statement or ternary operator?
Java
Performance
If Statement
Shorthand
Premature Optimization
Knockout.js incredibly slow under semi-large datasets
Javascript
Performance
knockout.js
What's the best way (most efficient) to turn all the keys of an object to lower case?
Javascript
Performance
node.js
Object
Garbage Collection
Large difference in speed of equivalent static and non static methods
Java
Performance
Object
Methods
Static
Why is processing a sorted array *slower* than an unsorted array? (Java's ArrayList.indexOf)
Java
Performance
Arraylist
What's your favorite profiling tool (for C++)
C++
Performance
Profiling
Multiple classes in a header file vs. a single header file per class
C++
Performance
File Organization
Performance of bcp/BULK INSERT vs. Table-Valued Parameters
Performance
Sql Server-2008
Bulkinsert
Table Valued-Parameters
How is CPU usage calculated?
Algorithm
Performance
Cpu
Cpu Usage
Cpu Architecture
Which is faster: x<<1 or x<<10?
C++
C
Performance
Cpu
Low Level
How to speed up the left and right arrow keys for editing text?
Macos
Keyboard
Cursor Position
Arrow Keys
Performance
Fastest way to strip all non-printable characters from a Java String
Java
String
Performance
Optimization
Micro Optimization
Why are operators so much slower than method calls? (structs are slower only on older JITs)
C#
.Net
Performance
Optimization
Jit
Is x += a quicker than x = x + a?
C++
Performance
Operators
How Do I Measure the Performance of my AngularJS app's digest Cycle?
Performance
Angularjs
Big difference (x9) in the execution time between almost identical code in C and C++
C++
C
Performance
Gcc
Iostream
Enhanced REP MOVSB for memcpy
Performance
Assembly
X86
Cpu Architecture
Memcpy
Horrible redraw performance of the DataGridView on one of my two screens
.Net
Winforms
Performance
Datagridview
Nvidia
Does Google Analytics have performance overhead?
Performance
Google Analytics
Benchmarking
Best timing method in C?
C
Performance
Timer
Timing
What is the most efficient way to check if a value exists in a NumPy array?
Python
Performance
Numpy
Why does enabling hardware-acceleration in CSS3 slow down performance?
Css
Performance
Css Transitions
Css Transforms
MySql views performance
Mysql
Database
Performance
Optimization
Views
Firestore slow performance issue on getting data
Javascript
Performance
Firebase
Google Cloud-Firestore
Angularfire2
Is C# really slower than say C++?
C#
C++
Performance
Python: get a dict from a list based on something inside the dict
Python
Performance
List
Dictionary
C code loop performance [continued]
C
Performance
Intel
Instructions
Assembly
What does the times mean in Google Chrome's timeline in the network panel?
Performance
Google Chrome
JavaScript style.display="none" or jQuery .hide() is more efficient?
Javascript
Jquery
Css
Performance
c++11 regex slower than python
C++
Python
Regex
Performance
C++11
Fastest way to get a positive modulo in C/C++
C++
C
Performance
In Javascript, is it expensive to use try-catch blocks even if an exception is never thrown?
Javascript
Performance
Exception
Try Catch
Glide image loading with application context
Android
Performance
Android Glide
How can numpy be so much faster than my Fortran routine?
Python
Arrays
Performance
Numpy
Fortran
Why is the loop instruction slow? Couldn't Intel have implemented it efficiently?
Performance
Assembly
X86
Intel
Cpu Architecture
On Performance and Java Interoperability: Clojure vs. Scala
Java
Performance
Scala
Clojure
Jvm
What is the fastest (to access) struct-like object in Python?
Python
Performance
Data Structures
What is the fastest Java collection with the basic functionality of a Queue?
Java
Performance
Collections
Get execution time of PostgreSQL query
Sql
Postgresql
Performance
Timing
Given that HashMaps in jdk1.6 and above cause problems with multi=threading, how should I fix my code
Java
Multithreading
Performance
Collections
Is accessing data in the heap faster than from the stack?
C++
C
Performance
Heap Memory
Stack Memory
Slices of structs vs. slices of pointers to structs
Performance
Go
Slice
Why does the Contains() operator degrade Entity Framework's performance so dramatically?
C#
Sql
Performance
Entity Framework-4
Contains
How to get 100% CPU usage from a C program
C
Windows
Linux
Performance
Cray
Performance with infinite scroll or a lot of dom elements?
Javascript
Performance
Dom
Python: using sys.exit or SystemExit differences and suggestions
Python
Performance
Coding Style
What is the best way to read last lines (i.e. "tail") from a file using PHP?
Php
Performance
Logging
Why is bind slower than a closure?
Javascript
node.js
Performance
V8
Is there a reason why not to use link-time optimization (LTO)?
C++
C
Performance
Compilation
Compiler Optimization
Optimizing Kohana-based Websites for Speed and Scalability
Php
Optimization
Performance
Scalability
Kohana
What is microbenchmarking?
Java
Performance
Benchmarking
Jit
Microbenchmark
Efficient way to do batch INSERTS with JDBC
Java
Sql
Performance
Jdbc
Prevent .NET Garbage collection for short period of time
C#
Performance
Garbage Collection
Matrix multiplication: Small difference in matrix size, large difference in timings
C
Performance
Algorithm
Matrix Multiplication
Python: why are * and ** faster than / and sqrt()?
Python
C
Performance
Python 2.7
Python Internals
Huge performance difference (26x faster) when compiling for 32 and 64 bits
C#
Performance
32bit 64bit
What is quicker, switch on string or elseif on type?
C#
Performance
How do I find out what is hammering my SQL Server?
Sql Server
Performance
Cpu Usage
Fast query runs slow in SSRS
Performance
Reporting Services
Report
Reportingservices 2005
Performance considerations for keySet() and entrySet() of Map
Java
Performance
Collections
Performance of qsort vs std::sort?
C++
Performance
Sorting
Stl
Perm space vs Heap space
Java
Performance
Memory Management
Visual Studio Build Very Slow
Visual Studio
Performance
Build
SQL Performance UNION vs OR
Mysql
Sql
Performance
Union
Why is lodash.each faster than native forEach?
Javascript
Performance
Lodash
Is it more efficient to perform a range check by casting to uint instead of checking for negative values?
C#
Performance
Micro Optimization
Numeric Conversion
Range Checking
Why is adding an OnClickListener inside onBindViewHolder of a RecyclerView.Adapter considered bad practice?
Java
Android
Performance
Android Recyclerview
vector or map, which one to use?
C++
Performance
Stl
Is it possible to get a history of queries made in postgres
Database
Performance
Postgresql
Timing
Jmeter alternative
Performance
Jmeter
Grinder
Android ListView Refresh Single Row
Android
Performance
Listview
What's a faster operation, re.match/search or str.find?
Python
Performance
When to use pointers in C#/.NET?
C#
.Net
Performance
Pointers
Unsafe
Which is faster: clear collection or instantiate new
.Net
Performance
List
Optimization
Collections
Is there a 128 bit integer in C++?
C++
Performance
Types
Cross Platform
Uuid
Why does my Intel Skylake / Kaby Lake CPU incur a mysterious factor 3 slowdown in a simple hash table implementation?
C++
Performance
Gcc
X86 64
Hashtable
Java very large heap sizes
Java
Performance
Garbage Collection
Heap Memory
nth fibonacci number in sublinear time
Performance
Algorithm
Math
Time Complexity
Fibonacci
Performance of calling delegates vs methods
C#
.Net
Performance
Delegates
iOS: what's the fastest, most performant way to make a screenshot programmatically?
Ios
Performance
Core Graphics
Graphicscontext
Quartz Core
Which is Faster and better, Switch Case or if else if?
Php
Performance
If Statement
Switch Statement
Generating permutations of a set (most efficiently)
C#
Performance
Algorithm
Optimization
Permutation
Why is numpy's einsum faster than numpy's built in functions?
Python
Arrays
Performance
Numpy
Multidimensional Array
Performance Benchmarking of Contains, Exists and Any
C#
Performance
Benchmarking
> vs. >= in bubble sort causes significant performance difference
Java
C++
Performance
Optimization
Why is array.push sometimes faster than array[n] = value?
Javascript
Arrays
Performance
Firefox
Browser
How slow is Reflection
C#
Performance
Reflection
Assemblies
HttpWebRequest is extremely slow!
C#
Performance
Http
Httpwebrequest
Overhead of try/finally in C#?
C#
.Net
Performance
Try Finally
Why is LINQ .Where(predicate).First() faster than .First(predicate)?
C#
.Net
Performance
Linq
Text processing - Python vs Perl performance
Python
Regex
Performance
Perl
Text Processing
Implementing a log viewer with WPF
C#
Wpf
Performance
User Interface
Scroll
Why is StringBuilder#append(int) faster in Java 7 than in Java 8?
Java
Performance
Java 7
Java 8
Jmh
Why is this C++ program so incredibly fast?
C++
Performance
Assembly
Compiler Construction
Why is it faster to compare strings that match than strings that do not?
Python
Performance
Comparison
Should I COUNT(*) or not?
Mysql
Performance
Innodb
Performance tips for making Visual Studio 2010 faster?
Performance
Visual Studio-2010
Is using double faster than float?
C++
Performance
X86
Intel
Osx Snow-Leopard
Does the <script> tag position in HTML affects performance of the webpage?
Javascript
Html
Performance
Optimization
Performance of built-in types : char vs short vs int vs. float vs. double
C++
C
Performance
Built In
How does extern work in C#?
C#
.Net
Performance
Extern
Modifier
Pros and cons of MongoDB?
Mongodb
Performance
Database
int operators != and == when comparing to zero
C++
Performance
Assembly
Machine Code
Why is dictionary so much faster than list?
C#
.Net
Performance
Fast textfile reading in c++
C++
Performance
Io
Ifstream
Do temp variables slow down my program?
C
Performance
Temporary
.EACHI in data.table?
R
Performance
Group By
data.table
`std::variant` vs. inheritance vs. other ways (performance)
C++
Performance
Inheritance
C++17
Std Variant
Good ways to improve jQuery selector performance?
Javascript
Jquery
Performance
Css Selectors
In PHP (>= 5.0), is passing by reference faster?
Php
Performance
Pass by-Reference
Is Python slower than Java/C#?
C#
Java
Python
Performance
Difference between Oracle's plus (+) notation and ansi JOIN notation?
Sql
Performance
Oracle
Join
How to test the performance of an Android application?
Android
Performance
Testing
JDBC batch insert performance
Mysql
Performance
Jdbc
Batch File
Should you check if the map containsKey before using ConcurrentMap's putIfAbsent
Java
Performance
Concurrency
Concurrenthashmap
LINQ performance FAQ
C#
.Net
Linq
Performance
Bulk inserts taking longer than expected using Dapper
Performance
Sqlbulkcopy
Dapper
Python's sum vs. NumPy's numpy.sum
Python
Performance
Numpy
Python 3.x
Does Order of Fields of Multi-Column Index in MySQL Matter
Mysql
Sql
Performance
Indexing
How to increase heap memory for WildFly?
Java
Performance
Wildfly
Heap Memory
Why is "while (i++ < n) {}" significantly slower than "while (++i < n) {}"
Java
Performance
Compiler Optimization
Post Increment
Pre Increment
What is the most efficient graph data structure in Python?
Python
Performance
Data Structures
Graph Theory
Should I use EJB3 or Spring for my business layer?
Java
Performance
Spring
Ejb 3.0
Scalability
How can I make Emacs start-up faster?
Emacs
Performance
F# performance in scientific computing
C++
Performance
F#
Parallel Processing
Scientific Computing
What is the fastest way to change a key of an element inside std::map
C++
Performance
Dictionary
Binary Tree
Std
translate3d vs translate performance
Performance
Css Transforms
python: deque vs list performance comparison
Python
Performance
Data Structures
Benchmarking
Deque
Why does this delay-loop start to run faster after several iterations with no sleep?
C++
Linux
Performance
Benchmarking
In Java, can & be faster than &&?
Java
Performance
Processing Efficiency
Microbenchmark
Branch Prediction
String.Substring() seems to bottleneck this code
C#
Performance
Substring
Why does allocating a single 2D array take longer than a loop allocating multiple 1D arrays of the same total size and shape?
Java
Performance
Counting the number of files in a directory using Java
Java
Performance
File
Directory
Database/SQL: How to store longitude/latitude data?
Sql
Mysql
Database
Performance
Sqlperformance
.NET best practices for MongoDB connections?
C#
Mongodb
Performance
Connection Pooling
Mongodb .Net-Driver
Git is really slow for 100,000 objects. Any fixes?
Performance
Git
Git Svn
How to load existing db file to memory in Python sqlite3?
Python
Performance
Sqlite
Create random list of integers in Python
Python
List
Random
Performance
5 years later, is there something better than the "Fastest Possible C++ Delegates"?
C++
Delegates
Performance
Hibernate Criteria vs HQL: which is faster?
Performance
Hibernate
Hql
Hibernate Criteria
Fastest way to get the integer part of sqrt(n)?
C++
C
Algorithm
Math
Performance
MySQL stored procedures use them or not to use them
Mysql
Database
Performance
Database Design
Stored Procedures
MongoDB ranged pagination
Performance
Mongodb
Pagination
Which ordering of nested loops for iterating over a 2D array is more efficient
C
Performance
For Loop
Cpu Cache
Most efficient way to forward-fill NaN values in numpy array
Python
Arrays
Performance
Pandas
Numpy
Why is std::fill(0) slower than std::fill(1)?
C++
Performance
X86
Compiler Optimization
Memset
Why is a.insert(0,0) much slower than a[0:0]=[0]?
Python
Performance
What is the fastest way to swap values in C?
C
Performance
What is the fastest way to parse large XML docs in Python?
Python
Xml
Performance
Parsing
Which one to use, int or Integer
Java
Database
Performance
Types
Primitive
boolean[] vs. BitSet: Which is more efficient?
Java
Arrays
Performance
Memory
Bitsets
How to decrease build times / speed up compile time in Xcode?
Iphone
Xcode
Build
Compilation
Performance
Fastest way to check if a List<String> contains a unique String
Java
String
Performance
List
Contains
What is the fastest way to truncate timestamps to 5 minutes in Postgres?
Sql
Performance
Postgresql
Datetime
App created with PyInstaller has a slow startup
Python
Windows
Performance
Pyinstaller
WebSockets, UDP, and benchmarks
Performance
Html
Udp
Websocket
Improving performance of very large dictionary in Python
Python
Performance
Dictionary
Hashtable
Python Internals
Is there a performance difference between 'let' and 'var' in JavaScript
Javascript
Performance
Scope
Performance comparison of Thrift, Protocol Buffers, JSON, EJB, other?
Java
Python
Performance
Protocol Buffers
Thrift
Python threads all executing on a single core
Python
Multithreading
Performance
To GC or Not To GC
C++
Performance
Garbage Collection
D
Heap Memory
Hash table - why is it faster than arrays?
Performance
Algorithm
Hash
Hashtable
C++: Mysteriously huge speedup from keeping one operand in a register
C++
C
Performance
Optimization
Assembly
Does python logging flush every log?
Python
Performance
Logging
Flush
Array vs ArrayList in performance
Java
Arrays
Performance
Collections
Arraylist
Why is the construction of std::optional<int> more expensive than a std::pair<int, bool>?
C++
Performance
Assembly
X86 64
C++17
Why is this code using strlen heavily 6.5x slower with GCC optimizations enabled?
C
Performance
Gcc
Glibc
Large public datasets?
Database
Performance
Dataset
Benchmarking
Performance hit from C++ style casts?
C++
Performance
Casting
Will my iPhone app take a performance hit if I use Objective-C for low level code?
C++
Iphone
Objective C
Performance
Optimization
Why is appending to a list bad?
Performance
Scala
Functional Programming
Can an INNER JOIN offer better performance than EXISTS
Sql
Sql Server
Sql Server-2005
Performance
Tsql
In what way does denormalization improve database performance?
Database
Performance
Database Design
Normalization
Denormalization
Array Join vs String Concat
Javascript
Arrays
Performance
Join
Connection String
compareTo with primitives -> Integer / int
Java
Performance
Compareto
LOWER LIKE vs iLIKE
Performance
Postgresql
Pattern Matching
Database Performance
Optimal way to compute pairwise mutual information using numpy
Python
Performance
Numpy
Scipy
Information Theory
Performance issue: Java vs C++
Java
C++
Performance
Algorithm
What are the performance implications of marking methods / properties as virtual?
C#
Performance
Virtual
MySQL: Many tables or many databases?
Mysql
Performance
boost serialization vs google protocol buffers?
C++
Performance
Serialization
Protocol Buffers
Boost Serialization
Client-side logic OR Server-side logic?
Performance
Why is Solr so much faster than Postgres?
Performance
Postgresql
Solr
Lucene
Rdbms
Difference between rdtscp, rdtsc : memory and cpuid / rdtsc?
C++
C
Performance
Assembly
Rdtsc
VisualVM and Self Time
Java
Performance
Profiling
Cpu
Visualvm
Comparison between RabbitMQ and MSMQ
Performance
Rabbitmq
Msmq
Message Queue
Swift performance: map() and reduce() vs for loops
Arrays
Swift
Performance
Why are HashSets of structs with nullable values incredibly slow?
C#
.Net
Performance
Struct
How can I distinguish between high- and low-performance cores/threads in C++?
C++
Multithreading
Performance
Intel
Apple M1
Fastest way to remove non-numeric characters from a VARCHAR in SQL Server
Sql
Sql Server
Performance
Optimization
Speed tradeoff of Java's -Xms and -Xmx options
Java
Performance
Jvm Arguments
Performance of TypeCasting
C#
.Net
Performance
Types
Is it faster to access data from files or a database server?
Sql
Performance
Cgi
Flat File
JavaScript loop performance - Why is to decrement the iterator toward 0 faster than incrementing
Javascript
Performance
Loops
Are C++ enums slower to use than integers?
C++
Enums
Profiling
Performance
What is the most efficient way to reverse an array in Javascript?
Javascript
Arrays
Performance
Get all files and directories in specific path fast
C#
Performance
Fileinfo
Do you quote HTML5 attributes?
Html
Performance
Standards
Performance of "direct" virtual call vs. interface call in C#
C#
.Net
Performance
Language Design
Why when I transfer a file through SFTP, it takes longer than FTP?
Performance
File
Ftp
Sftp
Transfer
Best way to execute js only on specific page
Javascript
Jquery
Html
Performance
Why is MySQL InnoDB insert so slow?
Mysql
Performance
Innodb
Performance differences between visibility:hidden and display:none
Javascript
Html
Css
Performance
Java 8's streams: why parallel stream is slower?
Java
Performance
Parallel Processing
Java 8
Java Stream
A better way for a Python 'for' loop
Python
Python 3.x
Performance
Time Complexity
Performance of static methods vs. functions
Php
Performance
Oop
what does O(N) mean
Performance
Scalability
Big O
Set
How can I avoid garbage collection delays in Java games? (Best Practices)
Java
Android
Garbage Collection
Performance
Are NumPy's math functions faster than Python's?
Python
Performance
Numpy
Should LINQ be avoided because it's slow?
C#
.Net
Linq
Performance
Why is looping through an Array so much faster than JavaScript's native `indexOf`?
Javascript
Performance
Most efficient way to iterate over all DOM elements
Javascript
Jquery
Performance
Dom
Optimization
How to convert a huge list-of-vector to a matrix more efficiently?
R
List
Matrix
Performance
Is Objects.requireNonNull less efficient than the old way?
Java
Performance
Null
Most efficient code for the first 10000 prime numbers?
Performance
Algorithm
Primes
Performance of try-catch in php
Php
Performance
Exception Handling
Try Catch
C# Decimal datatype performance
C#
Performance
Decimal
Writing function definition in header files in C++
C++
Performance
Header Files
Objective C message dispatch mechanism
Objective C
Performance
Is the inequality operator faster than the equality operator?
Optimization
Performance
Cpu Speed
Why should I use asserts?
C++
Performance
Assertions
Is a JOIN faster than a WHERE?
Sql
Performance
Join
Where Clause
Does Scala support tail recursion optimization?
Performance
Scala
Tail Recursion
Advantages / Disadvantages of pconnect option in CodeIgniter
Php
Database
Performance
Codeigniter
InnoDB takes over an hour to import 600MB file, MyISAM in a few minutes
Mysql
Performance
Innodb
Running sites on "localhost" is extremely slow
asp.net
Firefox
Localhost
Performance
Loading
Does the @inline annotation in Scala really help performance?
Performance
Scala
Scala 2.8
When to use each method of launching a subprocess in Ruby
Ruby
Performance
Coding Style
Standards
Subprocess
Does IF perform better than IF-ELSE?
C#
Performance
If Statement
Determining if a printer can handle a print job without look-up
Java
Performance
Printing
Parallel for vs omp simd: when to use each?
C++
C
Performance
Openmp
Simd
Why is System.nanoTime() way slower (in performance) than System.currentTimeMillis()?
Java
Performance
Time
What does amazon aws mean by "network performance"?
Performance
Networking
Amazon Web-Services
Amazon
What's an appropriate search/retrieval method for a VERY long list of strings?
C#
Performance
Data Structures
Lookup
Empty loop is slower than a non-empty one in C
C
Performance
Loops
How do I remove unused resources from third-party libraries I’ve included on Android?
Android
Performance
Gradle
Apk
Android Resources
React - defaultProps vs ES6 default params when destructuring (performances issues)
Performance
Reactjs
Ecmascript 6
Destructuring
Why does Haskell use mergesort instead of quicksort?
Performance
Sorting
Haskell
How many CPU cycles are needed for each assembly instruction?
Performance
Assembly
X86
Cpu Architecture
Cpu Cycles
Case vs If Else If: Which is more efficient?
Performance
Switch Statement
If Statement
Efficiency: arrays vs pointers
C
Arrays
Pointers
Performance
Memory Access
Actual table Vs. Div table
Css
Performance
Html
Html Table
ASP.NET MVC 3 Razor performance
C#
asp.net Mvc
Performance
asp.net Mvc-3
Razor
jQuery UI Autocomplete Combobox Very Slow With Large Select Lists
Jquery
Performance
Jquery Ui
Combobox
Autocomplete
MongoDB 'count()' is very slow. How do we refine/work around with it?
Performance
Mongodb
Count
Live Binding with Automatic updates in XE3 (no need to call Notify() as in XE2)
Performance
Delphi
Data Binding
Virtualization
Delphi Xe3
What is the quantitative overhead of making a JNI call?
Java
Performance
Java Native-Interface
Faster way to initialize arrays via empty matrix multiplication? (Matlab)
Performance
Matlab
Initialization
Matrix Multiplication
Is it better to avoid using the mod operator when possible?
C
Performance
Optimization
Modulo
Does ifelse really calculate both of its vectors every time? Is it slow?
R
Performance
If Statement
Vectorization
AWS RDS Provisioned IOPS really worth it?
Performance
Amazon Web-Services
Amazon Rds
Faster alternatives to Java's reflection
Java
Performance
Reflection
Why does the speed of memcpy() drop dramatically every 4KB?
Performance
Memory
Malloc
Memcpy
Cpu Cache
What makes this function run much slower?
Javascript
Performance
V8
Excel Interop - Efficiency and performance
C#
Excel
Performance
Interop
Vsto
What's faster, iterating an STL vector with vector::iterator or with at()?
C++
Performance
Stl
Vector
Iterator
Why is the JVM slow to start?
Java
Jvm
Performance
Startup
SQL Query slow in .NET application but instantaneous in SQL Server Management Studio
C#
Sql Server
Performance
Can you get a Func<T> (or similar) from a MethodInfo object?
.Net
Performance
Reflection
Methodinfo
Func
When compressing and encrypting, should I compress first, or encrypt first?
Encryption
Compression
Performance
Aes
Zlib
Java : Iteration through a HashMap, which is more efficient?
Java
Map
Performance
Hashmap
Iteration
Sorting algorithms for data of known statistical distribution?
Algorithm
Performance
Sorting
Statistics
Complexity Theory
Why do std::string operations perform poorly?
C++
Python
Performance
node.js
Stl
Is there a powerful database system for time series data?
Database
Performance
Time Series
Multiple requestAnimationFrame performance
Javascript
Jquery
Performance
Animation
Requestanimationframe
Most Efficient Way to Create an Index in Postgres
Performance
Postgresql
Indexing
Webstorm becomes extremely slow with node.js
node.js
Performance
Webstorm
Performance: type derived from generic
C#
.Net
Performance
Generics
Clr
Array of objects vs Object of Objects
Java
Arrays
Json
Performance
Maintainability
Is it a good idea to store data as keys in HashMap with empty/null values?
Java
Arrays
Performance
Hashmap
Asymptotic Complexity
MongoDB Find performance: single compound index VS two single field indexes
Mongodb
Performance
Indexing
Mongodb Query
Which Java profiler is better: JProfiler or YourKit?
Java
Performance
Jprofiler
Yourkit
Performance of inner join compared to cross join
Sql
Performance
What is the difference between a hash join and a merge join (Oracle RDBMS )?
Sql
Performance
Oracle
Join
Why should recursion be preferred over iteration?
Performance
Language Agnostic
Recursion
Iteration
jQuery :first vs. .first()
Jquery
Performance
How to measure the total memory consumption of the current process programmatically in .NET?
C#
.Net
Performance
Memory
Memory Management
The cost of passing by shared_ptr
C++
Performance
Shared Ptr
faster alternative to memcpy?
C
Performance
Memcpy
Find the least number of coins required that can make any change from 1 to 99 cents
Performance
Algorithm
Why is iterating through an array backwards faster than forwards
Javascript
Performance
Optimization
simplest tool to measure C program cache hit/miss and cpu time in linux?
Performance
Cpu Cache
Measurement
Context Switch
Memcache Stats
Defining methods via prototype vs using this in the constructor - really a performance difference?
Javascript
Performance
Memory Management
Prototype
What are the advantages of using numpy.identity over numpy.eye?
Python
Arrays
Performance
Numpy
How can I make a for-loop pyramid more concise in Python?
Python
Performance
Python 2.7
Python 3.x
React renderToString() Performance and Caching React Components
Performance
Reactjs
Isomorphic Javascript
Render to-String
React Dom
How is numpy so fast?
C++
Arrays
C
Performance
Numpy
What is the best way to improve performance of NHibernate?
.Net
Performance
Nhibernate
Orm
Data Access-Layer
C# / F# Performance comparison
C#
.Net
F#
Performance
Is there a performance difference between Javac debug on and off?
Java
Performance
Debugging
Javac
Math optimization in C#
C#
Optimization
Neural Network
Performance
Reserve memory for list in Python?
Python
Performance
Arrays
Memory Management
List
Faster way to delete matching rows?
Mysql
Performance
Sql Delete
Sql Execution-Plan
Setup HTTP expires headers using PHP and Apache
Php
Performance
Apache
Http
Stopwatch class for Java
Java
Performance
Measurement
C# quickest way to shift array
C#
Arrays
Performance
Profiling a running Java application in command line
Java
Performance
Command Line
Jvm
Profiling
What is the time complexity of HashMap.containsKey() in java?
Java
Performance
Hashmap
Time Complexity
Very slow Eclipse 4.2, how to make it more responsive?
Eclipse
Performance
Optimization
Eclipse Juno
One big javascript file or multiple smaller files?
Javascript
Jquery
Performance
Web
PostgreSQL query very slow with limit 1
Postgresql
Performance
Query Optimization
Limit
High Memory Usage Using Python Multiprocessing
Python
Performance
Memory
Multiprocessing
Why is mutating the [[prototype]] of an object bad for performance?
Javascript
Performance
Prototype
Prototype Chain
Does "Avoid dependency injection frameworks" in the Android Memory Guide apply to Dagger as well?
Android
Performance
Dependency Injection
Dagger
Python slow read performance issue
Python
Performance
Perl
Io
Why do C++ optimizers have problems with these temporary variables or rather why `v[]` should be avoided in tight loops?
C++
Performance
Optimization
Spark functions vs UDF performance?
Performance
Apache Spark
Pyspark
Apache Spark-Sql
User Defined-Functions
Will printf still have a cost even if I redirect output to /dev/null?
C
Linux
Performance
Embedded
Dev Null
PHP 5 Reflection API performance
Php
Performance
Reflection
When to use .NET BufferedStream class?
.Net
Performance
Buffer
Is Hibernate an overkill for an Android application?
Java
Android
Performance
Hibernate
Using True type fonts in web applications
Html
Performance
Browser
Fonts
Efficiently compute Intersection of two Sets in Java?
Java
Performance
Optimization
Set
What are the proper use cases for process.nextTick in Node.js?
Javascript
Performance
Memory
node.js
JavaScript Objects as Hashes? Is the complexity greater than O(1)?
Javascript
Performance
Math.floor VS Math.trunc JavaScript
Javascript
Performance
Math
Which PHP opcode cacher should I use to improve performance?
Php
Performance
Caching
How to stop intense Javascript loop from freezing the browser
Javascript
Jquery
Performance
Loops
Concatenating strings in C, which method is more efficient?
C
String
Performance
Concatenation
What is the most efficient way to append one std::vector to the end of another?
C++
Performance
Stl
Vector
Is it possible to temporarily disable an index in Postgres?
Performance
Debugging
Postgresql
Indexing
Faster way to find the first empty row in a Google Sheet column
Performance
Google Apps-Script
Google Sheets
What are the major performance hitters in AS3 aside from rendering vectors?
Performance
Actionscript 3
Flash
Optimization
Support for Compressed Strings being Dropped in HotSpot JVM?
Java
Performance
Jvm
Java 7
List of all unique characters in a string?
Python
Performance
Data Structures
PHP: Fastest way to handle undefined array key
Php
Performance
Efficient calculation of Fibonacci series
Python
Performance
Algorithm
Fibonacci
Why Swift is 100 times slower than C in this image processing test?
C
Macos
Performance
Swift
SourceTree very slow with many repositories
Git
Performance
Repository
Atlassian Sourcetree
Advantages and Disadvantages of using ReactJS
Performance
Open Source
Reactjs
Javascript
Branchless K-means (or other optimizations)
C++
Performance
Optimization
Fastest way to get the first n elements of a List into an Array
Java
Arrays
Performance
Is "==" in sorted array not faster than unsorted array?
C
Arrays
Performance
Optimization
Sortedlist
Why is this SSE code 6 times slower without VZEROUPPER on Skylake?
Performance
X86
Intel
Sse
Avx
Using Boost.Lockfree queue is slower than using mutexes
C++
Multithreading
Performance
Boost
Lock Free
Does C# optimize the concatenation of string literals?
C#
.Net
Performance
Optimization
Performance of Object.GetType()
C#
.Net
Performance
Declare an object inside or outside a loop?
Java
Performance
PreparedStatements and performance
Java
Database
Performance
Prepared Statement
Is there a way to circumvent Python list.append() becoming progressively slower in a loop as the list grows?
Python
Class
List
Performance
Append
Doing calculations in MySQL vs PHP
Php
Mysql
Performance
Maintainability
Sort a data.table fast by Ascending/Descending order
R
Performance
data.table
Fastest way to remove duplicate documents in mongodb
Mongodb
Performance
Optimization
Duplicates
Java: int[] array vs int array[]
Java
Arrays
Performance
Definition
Performance Tradeoff - When is MATLAB better/slower than C/C++
C++
C
Performance
Matlab
Performance difference between Java 8 lambdas and anonymous inner classes
Java
Performance
Closures
Java 8
What is IACA and how do I use it?
C++
C
Performance
Assembly
Iaca
Why is there a significant difference in this C++ for loop's execution time?
C++
Performance
Nested Loops
Java toString() using reflection?
Java
Performance
Reflection
Tostring
Is there a performance benefit single quote vs double quote in php?
Php
Performance
Performance - using Guid object or Guid string as Key
C#
Performance
Guid
'for' loop vs Qt's 'foreach' in C++
C++
Performance
Qt
Foreach
For Loop
What makes Ruby slow?
Ruby
Performance
Garbage Collection
Dynamic Languages
clearing a small integer array: memset vs. for loop
C
Performance
Benchmarking
Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7
Firefox
Google Chrome
Performance
Localhost
SQL primary key: integer vs varchar
Sql
Performance
Indexing
What is MySQL "Key Efficiency"
Mysql
Reporting
Performance
Does the order of fields in a WHERE clause affect performance in MySQL?
Sql
Mysql
Performance
Complexity of list.index(x) in Python
Python
Algorithm
List
Big O
Performance
Why does Java's ArrayList's remove function seem to cost so little?
Java
Performance
Optimization
Arraylist
Why does a small change to this Scala code make such a huge difference to performance?
Performance
Optimization
Scala
Using AVX CPU instructions: Poor performance without "/arch:AVX"
C++
Performance
Visual Studio-2010
Sse
Avx
HTML5 Canvas Performance and Optimization Tips, Tricks and Coding Best Practices
Javascript
Performance
Optimization
Canvas
jQuery appending an array of elements
Javascript
Jquery
Arrays
Performance
Append
Case-insensitive string startswith in Python
Python
String
Performance
Case Insensitive
Startswith
Python Requests vs PyCurl Performance
Python
Performance
Benchmarking
Python Requests
Pycurl
time.time vs. timeit.timeit
Python
Performance
Time
Python 3.x
Why is a `for` loop so much faster to count True values?
Python
Python 3.x
Performance
For Loop
Sum
Speed difference in using inline strings vs concatenation in php5?
Php
Optimization
Performance
Hashtable in C++?
C++
Performance
Map
Hashtable
Complexity Theory
Size of a byte in memory - Java
Java
Performance
Memory
Why are multi-dimensional arrays in .NET slower than normal arrays?
.Net
Performance
Arrays
Know of any Java garbage collection log analysis tools?
Java
Performance
Logging
Garbage Collection
O(log N) == O(1) - Why not?
Performance
Algorithm
Computer Science
Big O
Does variable = null set it for garbage collection
Java
Performance
Memory
Memory Management
Difference between IQueryable, ICollection, IList & IDictionary interface
C#
.Net
Performance
List
Collections
Java XPath (Apache JAXP implementation) performance
Java
Performance
Apache
Xpath
Jaxp
CROSS APPLY vs OUTER APPLY speed difference
Sql
Sql Server
Performance
Tsql
iOS5 What does "Discarding message for event 0 because of too many unprocessed messages" mean?
Ios
Xcode
Performance
Debugging
Why Python is so slow for a simple for loop?
Python
Performance
Jit
Is Java's System.arraycopy() efficient for small arrays?
Java
Performance
Most efficient way to find smallest of 3 numbers Java?
Java
Performance
Algorithm
Min
How do I measure how long a function is running?
C#
.Net
Performance
Timer
Stopwatch
Queue<T> vs List<T>
.Net
Performance
List
Queue
Difference
What is the cost of '$(this)'?
Javascript
Jquery
Performance
Symfony2 Slow Initialization Time
Performance
Ubuntu
Symfony
Virtualbox
Is indexing vectors in MATLAB inefficient?
Arrays
Performance
Matlab
Loops
Vectorization
Fastest way to ping a network range and return responsive hosts?
Linux
Performance
Bash
Networking
Ping
Get the second largest number in a list in linear time
Python
Performance
How to speed up pytest
Python
Performance
Pytest
For-loop performance: storing array length in a variable
Javascript
Performance
For Loop
Is integer multiplication really done at the same speed as addition on a modern CPU?
C++
Performance
Cpu
Multiplication
Addition
What is the performance of std::bitset?
C++
Performance
Bitset
Java 8 stream unpredictable performance drop with no obvious reason
Java
Performance
Lambda
Java Stream
Jmh
JavaScript Profiler in IE
Javascript
Performance
Internet Explorer
Profiling
Are doubles faster than floats in C#?
C#
Performance
Floating Point
Precision
Storing Documents as Blobs in a Database - Any disadvantages?
Performance
Security
Document
Blob
Document Management
How are cache memories shared in multicore Intel CPUs?
Performance
X86
Multiprocessing
Intel
Cpu Cache
What is a good random number generator for a game?
C++
Performance
Random
Java Reflection: Why is it so slow?
Java
Performance
Reflection
Need a fast random generator for c++
C++
Random
Performance
Java Method invocation vs using a variable
Java
Performance
What would be the fastest method to test for primality in Java?
Java
Performance
Algorithm
Primes
CSS Performance Profiler?
Css
Performance
Internet Explorer
Profiler
Practical limits of R data frame
R
Performance
Dataframe
Rcpp
Is Scala idiomatic coding style just a cool trap for writing inefficient code?
Scala
Performance
What is the best macro-benchmarking tool / framework to measure a single-threaded complex algorithm in Java?
Java
Monitoring
Performance
"Function calls are expensive" vs. "Keep functions small"
Javascript
Performance
Can Go really be that much faster than Python?
Python
Performance
Go
Is Mongodb Aggregation framework faster than map/reduce?
Performance
Mongodb
Mapreduce
Aggregation Framework
Why is it good save to save sessions in the database?
Php
Performance
Codeigniter
Session
Security
Does a C++11 range-based for loop condition get evaluated every cycle?
C++
Performance
For Loop
C++11
Foreach
High CPU Utilization in java application - why?
Java
Multithreading
Performance
Web Applications
Cpu Usage
What is the performance impact of non-unique indexes in pandas?
Python
Performance
Indexing
Pandas
Binary Search
for or while loop to do something n times
Python
Performance
Loops
For Loop
While Loop
Hidden performance cost in Scala?
Java
Performance
Scala
Jvm
Microbenchmark
How are denormalized floats handled in C#?
C#
.Net
Performance
Intel
Sse
Why Android Studio is slowing down when editing xml file or changing the design?
Android
Performance
Android Layout
Android Studio
Why does concatenation of DataFrames get exponentially slower?
Python
Performance
Pandas
Concatenation
Processing Efficiency
How can I improve load performance of Angular2 apps?
Javascript
Performance
Angular
Angular2 Routing
Systemjs
Why is Numpy with Ryzen Threadripper so much slower than Xeon?
Python
Performance
Numpy
Intel
Amd Processor
Is there any performance difference between ++i and i++ in C#?
C#
Operators
Performance
numpy float: 10x slower than builtin in arithmetic operations?
Python
Performance
Numpy
Floating Point
if->return vs. if->else efficiency
Performance
Return
If Statement
Which CSS selectors or rules can significantly affect front-end layout / rendering performance in the real world?
Performance
Css
Client Side
Rendering Engine
what is the performance impact of using int64_t instead of int32_t on 32-bit systems?
C++
Performance
32bit 64bit
32 Bit
Int64
Fastest save and load options for a numpy array
Python
Arrays
Performance
Numpy
Io
Java 11 -- performance regressions against Java 8?
Performance
Java 8
Java 11
Microbenchmark
Jmh
Relative performance of std::vector vs. std::list vs. std::slist?
C++
Data Structures
Stl
Performance
Linked List
How can I programmatically limit my program's CPU usage to below 70%?
C#
Performance
Cpu Usage
system.diagnostics
Why is there a performance warning on cast pointer to bool?
C++
Casting
Performance
Simple Python Challenge: Fastest Bitwise XOR on Data Buffers
Python
Algorithm
Performance
Xor
Are static methods more efficient?
C#
Performance
Static Methods
' ... != null' or 'null != ....' best performance?
Java
Performance
Micro Optimization
Python vs. Java performance (runtime speed)
Java
Python
Performance
When should we use Radix sort?
Performance
Algorithm
Sorting
Quicksort
Radix Sort
SQL Server Query: Fast with Literal but Slow with Variable
Sql Server
Performance
Sql Server-2008
Pointer vs Variable speed in C++
C++
Performance
Variables
Pointers
Object.keys() complexity?
Javascript
Performance
Time Complexity
Ecmascript 5
String interning in .Net Framework - What are the benefits and when to use interning
C#
.Net
String
Performance
String Interning
Non-intersecting line segments while minimizing the cumulative length
C++
Performance
Algorithm
Geometry
Why are difference lists more efficient than regular concatenation in Haskell?
Performance
List
Haskell
Time Complexity
Difference Lists
_.isFunction(a) vs. typeof a === 'function'? javascript
Javascript
Performance
underscore.js
Typeof
How can I measure CPU time and wall clock time on both Linux/Windows?
C++
C
Performance
Time
Cpu
Passing whole object vs passing object's property
Java
Performance
Oop
Why is variable1 += variable2 much faster than variable1 = variable1 + variable2?
Python
Html
String
Performance
Python Internals
Can a React-Redux app really scale as well as, say Backbone? Even with reselect. On mobile
Performance
backbone.js
Mobile
Reactjs
Redux
Set vs. frozenset performance
Python
Performance
Set
Frozenset
Handling very large data with mysql
Mysql
Database
Performance
Indexing
Partitioning
Why are there memory allocations when calling a func
C#
Performance
Delegates
Garbage Collection
Closures
Why is linear read-shuffled write not faster than shuffled read-linear write?
Python
Performance
Numpy
X86
Cpu Cache
PostgreSQL UNIX domain sockets vs TCP sockets
Performance
Postgresql
Tcp
Sockets
Which SQL statement is faster? (HAVING vs. WHERE...)
Sql
Performance
Grouping
If Statement
Java Performance Testing
Java
Performance
Performance Testing
When does reflow happen in a DOM environment?
Javascript
Performance
Dom
Reflow
"SELECT COUNT(*)" is slow, even with where clause
Mysql
Performance
Optimization
Where is the L1 memory cache of Intel x86 processors documented?
Performance
Intel
Cpu Architecture
Cpu Cache
Optimizing member variable order in C++
C++
Performance
Optimization
Embedded
How can I see symbols of (C and C++) binary on linux?
C++
C
Performance
Profiling
Name Mangling
Javascript prototype operator performance: saves memory, but is it faster?
Javascript
Performance
Function Prototypes
shared_ptr: horrible speed
C++
Performance
Compiler Construction
Shared Ptr
why are draw calls expensive?
Performance
Optimization
Graphics
3d
Gpu
Optimize mySql for faster alter table add column
Mysql
Performance
Alter
Efficient implementation of binary heaps
C++
Data Structures
Performance
Computer Science
Priority Queue
How to profile memory usage & performance with Instruments?
Xcode
Performance
Profiling
Instruments
Allocation
Compile-time constants and variables
Java
Performance
Constants
Final
Compile Time-Constant
Java split String performances
Java
String
Performance
Optimization
Split
Array bounds check efficiency in .net 4 and above
C#
.Net
Performance
Bounds Check-Elimination
Why is Azure deployment slower on Windows 2012 Server than on Windows 2008 Server
asp.net
.Net
Performance
Azure
Windows Server-2012
JMeter understanding ramp-up
Performance
Testing
Jmeter
Most efficient way to insert Rows into MySQL Database
C#
Mysql
Performance
Why is writing to memory much slower than reading it?
C
Performance
Memory
Hardware
Why indirect increment is faster than direct inc?
Java
Performance
Jvm
Why is statistics.mean() so slow?
Python
Performance
Mean
Why is pow(int, int) so slow?
C++
Performance
Pow
Cmath
PostgreSQL's schemas for multi-tenant applications
Performance
Postgresql
Database Design
Schema
Multi Tenant
Why is math.sqrt massively slower than exponentiation?
Python
Performance
Macos Catalina
Python 3.8
Which loop has better performance? Why?
Java
Performance
String
Garbage Collection
What is an Efficient algorithm to find Area of Overlapping Rectangles
Algorithm
Optimization
Geometry
Performance
Memory Allocation/Deallocation Bottleneck?
Performance
Optimization
Memory Management
Garbage Collection
Malloc
Which is faster? Comparison or assignment?
Performance
Optimization
Refactoring
What is the Fastest Method for High Performance Sequential File I/O in C++?
C++
Performance
File Io
Composite Primary Key performance drawback in MySQL
Mysql
Performance
Primary Key
Composite Key
Most efficient way to check if an object is a value type
C#
.Net
Performance
Value Type
preallocate list in R
Performance
R
List
Memory
improving speed of Python module import
Python
Performance
Import
Module
Android: requestLayout() improperly called
Android
Performance
Android Listview
Why does a local var reference cause a large performance degradation?
C#
Performance
Why is the F# version of this program 6x faster than the Haskell one?
Performance
Haskell
F#
Inexplicit 'task' in Chrome Perfomance DevTools
Javascript
Performance
Google Chrome
Google Chrome-Devtools
Why is this regular expression so slow in Java?
Java
Python
Regex
Performance
Perl
timeit and its default_timer completely disagree
Python
Performance
Garbage Collection
Timeit
SVN performance after many revisions
Performance
Svn
Repository
Fsfs
How to speed up WPF programs?
Wpf
Performance
How to measure code performance in .NET?
.Net
Performance
Benchmarking
Editing xml files with long lines is really slow in vim. What can I do to fix this?
Xml
Vim
Performance
How performant is StackFrame?
C#
.Net
Performance
Logging
mixing cout and printf for faster output
C++
Performance
Printf
Cout
Is ternary operator, if-else or logical OR faster in javascript?
Javascript
Performance
What is the performance impact of the universal selector?
Html
Css
Performance
Css Selectors
Fast vectorized merge of list of data.frames by row
R
Performance
List
Merge
Dataframe
How many Include I can use on ObjectSet in EntityFramework to retain performance?
Performance
Linq
Entity Framework
asp.net Mvc-2
Linq to-Entities
linux perf: how to interpret and find hotspots
C++
Linux
Performance
Profiling
Perf
Is memset() more efficient than for loop in C?
C
Performance
Memset
Why are annotations under Android such a performance issue (slow)?
Java
Android
Performance
Garbage Collection
Annotations
Best way to convert IEnumerable<char> to string?
.Net
Regex
Performance
Performance Testing
foreach + break vs linq FirstOrDefault performance difference
C#
Performance
Linq
.Net 4.0
Foreach
How can the C++ Eigen library perform better than specialized vendor libraries?
C++
Performance
Eigen
Why are unexecuted statements slowing down my functions?
Javascript
Performance
Ackermann very inefficient with Haskell/GHC
Performance
Haskell
Optimization
Recursion
Benchmarking
Why does JavaScript appear to be 4 times faster than C++?
Javascript
C++
Performance
Floating Point
Benchmarking
Why does this take so long to match? Is it a bug?
Python
Regex
Performance
State Machine
slow function call in V8 when using the same key for the functions in different objects
Javascript
node.js
Performance
Google Chrome
V8
Python string formatting: is '%' more efficient than 'format' function?
Python
Performance