How can one effectively utilize native functions in Joomla to avoid performance issues caused by plugins?

To avoid performance issues caused by plugins in Joomla, one can utilize native functions provided by Joomla instead. By directly accessing Joomla's core functions, one can bypass the overhead and potential conflicts that plugins can introduce. This can help improve the overall speed and efficiency of the Joomla website.

// Example of utilizing native Joomla functions to get an article by ID
$articleId = 123;
$db = JFactory::getDbo();
$query = $db->getQuery(true)
    ->select($db->quoteName('title'))
    ->from($db->quoteName('#__content'))
    ->where($db->quoteName('id') . ' = ' . (int) $articleId);
$db->setQuery($query);
$articleTitle = $db->loadResult();
echo $articleTitle;