Top "Measurement" questions

If I call getMeasuredWidth() or getWidth() for layout in onResume they return 0

If I call getMeasuredWidth() or getWidth() for layout in onResume they returns 0. I think that view it's not drawn yet …

android layout measurement
How can I measure pixels in Chrome without an extension?

Due to security limitations at work, I am not allowed to install Chrome extensions. Chrome has a ruler built in …

google-chrome google-chrome-devtools pixel measurement
What is a bad, decent, good, and excellent F1-measure range?

I understand F1-measure is a harmonic mean of precision and recall. But what values define how good/bad a …

performance machine-learning precision measurement precision-recall
Compute statistical significance with Excel

I have 2 columns and multiple rows of data in excel. Each column represents an algorithm and the values in rows …

excel comparison statistics measurement significance
measure text height on an html5 canvas element

I know I can use context.measureText to get the width of some text if it would now be rendered …

html text html5-canvas measurement
Measuring Java execution time, memory usage and CPU load for a code segment

For a particular segment of Java code, I'd like to measure: Execution time (most likely thread execution time) Memory usage …

java performance monitoring jmx measurement
rem px in Javascript

I use this code in JS: bigPhoto.setAttribute("width", "200rem"); The result is in pixel in html source, But: When …

javascript html css measurement
Why is Graphics.MeasureString() returning a higher than expected number?

I'm generating a receipt and am using the Graphics object to call the DrawString method to print out the required …

c# measurement printdocument
How to measure the speed of an Arduino function's execution?

I need to determine the speed with which Arduino executes a certain function. What would be the best time to …

c++ time arduino measurement stopwatch
Precise time measurement in Java

Java gives access to two method to get the current time: System.nanoTime() and System.currentTimeMillis(). The first one gives …

java performance measurement