Svg Vs Gif. In the case of SVG quite complex algorithms are required. SVG or Scalable Vector Graphics is incredibly practical.
Use SVG for logos icons etc. Thats why designers are using it more frequently. The SVG animation stutters the gif.
Dont use GIFs for graphics.
Not just when comparing file sizes. SVG or Scalable Vector Graphics is incredibly practical. GIF is a raster format. Dont worry about security.