Questions tagged as 'desempenho'

2
answers

Could current JavaScript engines optimize recursive "tail" calls?

In functional programming , it is very common to use functions recursive . Certain languages, such as Scheme, do not even have control structures for loops, depending on recursion to iterate over lists. JavaScript has functional features, s...
asked by 27.01.2014 / 17:29
3
answers

Comments weigh?

Reviews weigh? I leave comments throughout my code, will influence something on the site? I'm saying more specifically in HTML, CSS, JavaScript, PHP.     
asked by 19.04.2017 / 14:04
6
answers

Difference between absolute and relative URLs in page content

The contents of the page can be requested by entering a complete URL, relative or relative to the root of the location where our base file (usually index.php or index.html ): Full <script src="http://www.meusite.com/assets...
asked by 22.01.2014 / 20:41
3
answers

How to test my website on a slow internet?

When you finish developing a website or system, we always test the performance of your website or system with our internet. Given this, is there any way to simulate the performance of my system a slow internet to perform such tests without ch...
asked by 22.06.2017 / 20:30
3
answers

Subqueries can decrease performance? Myth or truth?

Well, I usually only work with frameworks . I work with frameworks MVC and I usually use the ORMs to query the database. In my case I use Laravel, but I've used other frameworks , and had the recent opportunity to get to know the Entity F...
asked by 01.07.2016 / 21:37
2
answers

=, BINARY, LIKE, LIKE BINARY, REGEXP, SQL binary collation

Reformulation of the question from @GabrielHenrique's answer and search: What is binary collation in a string column in the table? BINARY serves to make a case-sensitive search and LIKE case-insensitive, then LIKE BINARY...
asked by 03.03.2018 / 14:48
2
answers

What is the problem of queries N + 1?

Whenever we work with some ORM, it is common to fall into the queries N + 1 problem. It's something about performance, called up to antipattern . But what is really this problem, why it happens, what are its main causes and how, in theory,...
asked by 15.06.2018 / 05:00
1
answer

Creating many static classes does it impact system performance?

I've been creating many static classes to make code easier and cleaner, such as a Google Translate API call. public static class GoogleTranslate { public static string Translate(string word){ //código de chamada } } Doing so...
asked by 17.04.2018 / 15:14
1
answer

Performance Webpack Build.js

I'm starting with Webpack. It compiles all javascript and css files into a single file Build.js , Bundle.js , whatever ... In the end it generates a fully mined file using the Production Node command, but it nevertheless gener...
asked by 20.10.2017 / 21:03
3
answers

What is the difference between function and assignment for array?

I have recently made codes in my projects where I need to add items to an array, so I do not know if I should use native language functions like this: array_push($meu_array, 50); or simply assign the value, for example: $meu_array[] = 50;...
asked by 05.01.2018 / 17:30