ladybug_network: Added timing function for performance messurement