Browsing Ukrainian translation

2938 of 111 results
29.
When we optimize for GNOME the first thing to remember is this: we are not trying to make the program better, we are trying to make the person using the computer happier.
(itstool) path: page/p
(no translation yet)
Located in C/introduction.page:8
30.
Better programs make people happier, but there are some improvements that will make them a lot happier than others: Responsiveness, start-up time, easy to access commands and not having the computer go into swap the moment more than two programs are open.
(itstool) path: page/p
(no translation yet)
Located in C/introduction.page:10
31.
Traditional optimization tackles concepts like CPU use, code size, the number of mouse clicks and the memory use of the program. This second list has been chosen to correlate with the first list, however there is an important difference: The person using GNOME doesn't care about the second list, but they care a lot about the first list. When optimizing GNOME programs we will reduce CPU use, memory use and all those things, but these are the means to the end, not the final goal. We are optimizing for people.
(itstool) path: page/p
(no translation yet)
Located in C/introduction.page:13
32.
Doing the Optimization
(itstool) path: section/title
(no translation yet)
Located in C/introduction.page:18
33.
The previous section omitted one important qualifier: To optimize something it has to be measurable. You can't measure happiness. However, you can measure start-up time so you can tell if you have improved it. Happiness will then, hopefully, follow.
(itstool) path: section/p
(no translation yet)
Located in C/introduction.page:19
34.
Optimization is the process of measurement, refinement and re-measurement. So the first thing you must do is find a way to measure what you are optimizing. Ideally this measurement is a single number, for example: the time taken to perform a task. This is your benchmark, it is the only way to tell if you are winning or losing. There is a big difference between a program that <em>should</em> be fast and a program that <em>is</em> fast.
(itstool) path: section/p
(no translation yet)
Located in C/introduction.page:22
35.
Once you have a basic benchmark you need to find out why your code is not doing as well as it should. It is tempting to do this by inspection: just looking at the code and trying to spot something that looks like it needs improvement. You will invariably be wrong. Using a profiler to get a detailed break-down of what your program really does is the only way to be sure.
(itstool) path: section/p
(no translation yet)
Located in C/introduction.page:25
36.
Usually the problem is isolated to small sections of code. Pick the worst place and concentrate on that first. Once that is done, rerun the profiler and repeat. As you proceed the gains made at each step will get less and less, at some point you will have to decide that the results are good enough. If your efforts are only extracting 10% improvements then you are well past the point where you should have stopped.
(itstool) path: section/p
(no translation yet)
Located in C/introduction.page:28
37.
Don't forget the big picture. For example, rather than just trying to speed up a piece of code, ask yourself if it needs to be run at all. Could it be combined with another piece of code? Can the results of previous calculations be saved and reused? It won't even need to be optimized if it is in a place where the user is never going to notice it. Worse still, the code may already be optimized and is doing the heavy calculations now to avoid doing them later. Code does not run in isolation and neither does the optimization process.
(itstool) path: section/p
(no translation yet)
Located in C/introduction.page:31
38.
Hints
(itstool) path: section/title
(no translation yet)
Located in C/introduction.page:37
2938 of 111 results

This translation is managed by translation group gnome-translation-project.

You are not logged in. Please log in to work on translations.

No-one has contributed to this translation yet.