Open shariquerik opened 5 months ago
The Contacts and Users stores don't scale very well indeed: with thousands of contacts the initial app load takes multiple seconds/minutes.
https://github.com/frappe/crm/blob/develop/crm/api/session.py
It turns out that calling frappe.get_all in a loop is indeed O(n²) in complexity haha :stuck_out_tongue_closed_eyes:
frappe.get_all
The Contacts and Users stores don't scale very well indeed: with thousands of contacts the initial app load takes multiple seconds/minutes.
https://github.com/frappe/crm/blob/develop/crm/api/session.py
It turns out that calling
frappe.get_all
in a loop is indeed O(n²) in complexity haha :stuck_out_tongue_closed_eyes: