How to communicate inefficiency before it’s implemented?

This is a problem I come across pretty often. Basically we are using an application to make art content. Often times this requires writing custom tools for it.

Sometimes you run into parts of the application where doing something is not directly supported in the UI, which means it will either be a little more involved or communicating this to the software company that makes this software so they can address it in the future.

But I see some of the more experienced people suggesting to use methods that are extremely inefficient.

For example let’s say you want to access the value of the last item in a 10M item array. Let’s say it’s not directly doable. So you could write some code that would be inconvenient in this case because you just want it directly doable in the app.

But instead of this, they suggest you to let’s say create a spare property for each item in the array, that will basically store the same thing, and then by using a built-in tool which will go through each element and set the value of ALL these new properties to the last item read. So it will be like:

for i=0 to array.Length:
    new_property[0..array.Length - 1] = array[i];

So this will indeed give you the last item when the operation is done, but it will be extremely slow.

How can you communicate this to the people suggesting these methods? Because they think it’s quite reasonable and since they have more experience and this is mainly an art application, it shouldn’t involve more work for us/them.

1

The way I handle efficiency topics before implementation (feasibility study phase or architecture phase) is the following:

  1. Explicit performance requirements, and even better, define the Key Performance Indicators which will allow you to check whether or not the software meets performance requirements. (If you are subcontracting the software, these KPI need to be very clear. They should be part of the acceptance criteria.)

    For example: the basic requirement we had in mobile phone UI was that something (anything) should move at most 100ms after an end user action. If not possible, the longest possible reaction time needed to be below 200ms. (The rational is based on human perception of ‘instantaneously’).

  2. Whenever a specific performance target seems hard to meet, prototype the expected solution. For your art application example, if you think that the suggested solution might not work, you can just ask for a proof of concept / prototype, before the real implementation.

    Note: If it meet the performance requirements, do you really care about a suboptimal solution ?

  3. (optional) If you/they cannot find a reasonable solution to meet performance requirements, it may be time to make a trade-off between ‘functional’ requirements, and performance requirements.

  4. During the development process, monitor the KPI to detect possible performance issues at the earliest. The subcontractor may be doing it internally even if you don’t ask for this explicitly.

Moreover, this KPI monitoring allows using the “optimize only if necessary” strategy. The developers don’t spent their time optimizing their code unless there is a real need for performance.

Hope this helps.

1

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật