How to carry out optimization work in performance optimization chapter (2)

1. Manpower optimization

The use of human resources is also a crucial part of work, and it is directly proportional to the right people and the right things!
insert image description here

2. Optimizing the Mind Method

insert image description here

Three, bad example 1

In the resume, if you can write wrong words, you will not be able to avoid the following situation. It is obviously an IO-intensive problem, but we immediately answered that it is CPU-intensive. It seems that you are prone to panic and lack of thinking. There is another important point, don't answer less than what the interviewer asks you , which will bring a bad experience to each other. Every time I ask you a question, it is an opportunity for you to seize it!

insert image description here

4. Bad example 2 (technical optimization)

When answering questions, we should be like this classmate and answer more professionally, and you can use your huge knowledge base to link it together through a question and follow your own logic to answer, so that the interviewer can see that you are The ability to master some knowledge is good enough, and you don't need to ask later, such as the following classmate said, GC, JNI, etc. It is obvious that this person is not a novice.
insert image description here

5. Bad Example 3 (Business Optimization)

The answer of No. 3 is much better than that of No. 1. Compared with No. 2, the way of thinking about solving the problem is different, but the same level. Obviously, the answer to the third question is very bright. Do you think If a data source is several GB or hundreds of GB, then the resource consumption of local encryption and full data source encryption is not the same level. On the same IO, the performance consumption gap is very large!

insert image description here

6. Review of this section

insert image description here
Image source from: teacher bennyhuo's senior interviewer from Dachang will take you to crack the Android senior interview

Thank you teacher bennyhuo

Guess you like

Origin blog.csdn.net/qq_27494201/article/details/121641623