How to properly optimize Julia code?

This page summarizes the projects mentioned and recommended in the original post on /r/Julia

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 18337

    18.337 - Parallel Computing and Scientific Machine Learning

  • You might want to use the 18.337 notes, specifically:

  • BenchmarkTools.jl

    A benchmarking framework for the Julia language

  • Note that the first time you run a function, you're measuring its compilation time as well. So run it twice to measure it properly, or even better, use https://github.com/JuliaCI/BenchmarkTools.jl

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • TimerOutputs.jl

    Formatted output of timed sections in Julia

  • Make liberal use of TimerOutputs.jl to analyze each piece of code https://github.com/KristofferC/TimerOutputs.jl . The profiling outputs are extremely helpful

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts