Questions tagged as 'desempenho'

0
answers

Absurd performance difference between pygame.surfarray.array3d and array2d

Using pygame.surfarray to handle an image as an array, manipulating any element in a array3d is more than 5 times slower than manipulating a array2d element. / p> See this benchmark: from datetime import * import pygam...
asked by 27.09.2018 / 01:06
0
answers

Does CSS Box-Shadow property affect page performance and rendering of elements?

I know the box-shadow property is relatively old, and widely used. But when I use it in excess, I say by applying box-shadow to 100 elements on the same page I've lost performance? I made this first print with more than 400 divs...
asked by 26.10.2018 / 16:58
1
answer

SonarLint x Java GC, cancel or not object at the end of execution?

I'm passing SonarLint on a somewhat old application and fixing several "problems", but I came across a code snippet like: public void fazerAlgo(final String param) { MeuObjeto m = new MeuObjeto(); m.setVar(param.toLowerCase()); m...
asked by 25.07.2018 / 13:14
1
answer

Smallint or int to PK / Primary Key / primary key? [closed]

In languages such as Java, for example, when processing an int short and comparing with another short int, both are transformed into int. Does the same thing occur in a database like MySQL?     
asked by 03.05.2018 / 15:24
0
answers

About the "waiting time" in the requests when the site is loaded (performance)

IwaslookingattheLoadtimeofthesite,andInoticedthatthebluebar(whichsaysaboutwaiting),isprettybig.Iwonderwhythishappens,whetherthismaybewhytheservertakingthedataisslow,orifthisisnormal,orifthereisstilla"limit" on how many concurrent data per serve...
asked by 27.04.2018 / 01:35
1
answer

One .CSS for "Above the Fold" and another .CSS for "Below the fold" - Is it worth it?

In terms of performance and maintainability would it be nice to have 2 files of css on the page, one for the content that appears before the fold and another for the content that appears after the fold? Type: <link href="above.cs...
asked by 13.04.2018 / 17:05
0
answers

password_hash vs performance

One of my biggest concerns when developing an application has always been the performance it would have, especially on shared servers, on which most of my clients focus. Micro-optimizations are always welcome in my systems, as I follow the old p...
asked by 14.02.2018 / 20:28
0
answers

Understanding old JAVA code

I have a code here in the company and I need to understand what it actually does. By the method's naming I found that it removed the non-standard UTF-8 characters or something, giving a parsed I saw that it does not do exactly anything in the st...
asked by 08.11.2017 / 12:55
0
answers

ng-include improves website performance?

Good evening I would like to know if I separate the html in parts and use ng-include to add them to the index, improve the performance of the site? making it faster Thank you in advance !!     
asked by 04.10.2017 / 21:39
0
answers

How to use Eloquent without losing performance (51.39%) in Lumen 5.4?

Developing an API that must handle a high-performance website. By doing a few tests, I noticed that Eloquent usage is lowering the performance of requests in the MySQL database in 51.39% (more than half). The OS is ubuntu 16.04 and the fra...
asked by 12.10.2017 / 15:42