Questions tagged as 'desempenho'

1
answer

Change color of icons in API 19 KitKat

Since API 19 (KitKat) is still very popular, it is a good choice to support this release. However, it does not support many features, such as backgroundTint and ImageTint. This puts me in many compatibility issues and design choices. I have s...
asked by 11.05.2017 / 15:47
1
answer

Performance when querying the database

Suppose I have a table with 100,000 records, which in this example I will call the dictionary, and will have a LIMIT of 1000 results. SELECT FROM * dicionario Let's say hypothetically I've already done a query and in this query I go...
asked by 31.01.2017 / 04:17
1
answer

Doubts about table of states and cities

Friends, good morning. I am having a question about how best to populate a combobox with state information and another one with city information. My question is, what would be the best performance question or good practice question? have a ta...
asked by 19.07.2016 / 13:32
1
answer

How to test the runtime of a code in Visual Studio 2017?

I'm trying to test the runtime of a code, however I'm always getting incorrect values, the first test will always be the one that has the worst time. And most of the time the second test is always 0. #include <iostream> #include <math...
asked by 06.08.2018 / 20:01
1
answer

Calculate execution time of a sorting algorithm in C

I'm having a question about how to get the runtime only in the sort algorithm. I spun a lot on the internet and found a lot of superficial, nothing that would help me in what I need. I have an issue where I have to analyze the time the algori...
asked by 13.07.2018 / 04:57
1
answer

Use findViewById in all scopes or use a variable?

Which of the following strategies is best suited for good application performance? Use findViewById whenever we use any element of View or do it only once by assigning to a variable? example in Xamarin.Android : public c...
asked by 28.11.2017 / 13:08
1
answer

Native app performance is still much higher than the html-based app?

I'm in doubt about which framework / language to use to start application development. From what I've read so far, I'm between using Ionic and Xamarin . Everywhere I read the great advantage of Ionic is to be free, but now Xamarin is also...
asked by 23.04.2016 / 10:02
1
answer

How to improve TestCase speed in Django?

I'm running a test in Django with just two querys and in the timer it's taking 1 min and 10 seconds to finalize the test. Is there a setting I can adjust to speed up testing? I'm currently using postgresql in the project database.     
asked by 04.09.2015 / 22:38
1
answer

Differences between SELECT, count, and empty to work DB data

I, out of curiosity, liked to know the differences between 3 seemingly equal things to count (rows, lines) and get data from a table, in MySql / PHP: 1st: Return the number of rows first, and then work the data of those rows, EX with PDO: f...
asked by 12.06.2015 / 15:35
1
answer

How to optimize memory consumption using Doctrine

I need to read and save in the database two files the first (smaller) has about 49,000 rows (each row will be make a record). I parse this file by instantiating the object and then saving that object to the database using Doctrine. I can save ab...
asked by 09.02.2015 / 18:59