Closed exoego closed 9 months ago
I found the getUsedBy function is compute-heavy since it iterates sdk_map['sdk_method_iam_mappings'] many times. By caching the action-to-iam_mapping_name mapping, /tag/* and /iam/* pages are now very fast.
getUsedBy
sdk_map['sdk_method_iam_mappings']
action
iam_mapping_name
/tag/*
/iam/*
I found the
getUsedBy
function is compute-heavy since it iteratessdk_map['sdk_method_iam_mappings']
many times. By caching theaction
-to-iam_mapping_name
mapping,/tag/*
and/iam/*
pages are now very fast.