Software performance engineer interview questions shared by candidates
How would you define custom memory management for a class in C++? How about if you wanted to return blocks of memory to the OS?
If we want to simply define the custom memory allocation for a class, we can define it as the dynamic memory allocation inside the class methods ( either in constructor or in other functions), and for this we can use new or malloc to allocate custom sized memory. Similarly, returning memory block to the OS just refer to the free function or delete command, which can be done either in the same function where the memory is allocated or in the destructor, depending on how lon we need to keep the memory content. If we need to allocate memory for a class member and need to use it as long as the object exists, we need to free the memory in the destructor. Thus, if we want to go into further detail discussion. we need to know the purpose of the memory usage ( you need to ask the interviewer of course). Depending on the purpose, we can degin our code, where to allocate how much memory and where to release those.
The question was very vague. Given an app that does a lot of read how do you improve the performance? I was like, uhmmm there are many ways, so I focused on the blades, turned out that he wanted someone who can break down complex problems, sigh ..........
Most people talk about enabling the Extended Log feature in the Run-time Settings Vuser GUI, For example: Parameter Substitution and/or Data Returned by the Server and/or Advanced Trace check boxes, as per the requirements. Please give 5 examples of the the code and options applied to the Vuser complete script.
See Interview Questions for Similar Jobs
- Software Engineer
- Performance Engineer
- Senior Software Engineer
- Software Developer
- Software Development Engineer
- Senior Performance Engineer
- Site Reliability Engineer
- Staff Software Engineer
- Software Engineer III
- Performance Test Engineer
- Member of Technical Staff
- Senior Member of Technical Staff
- Lead Performance Engineer
- Software Engineer Intern
- Systems Engineer
- Hardware Engineer