Go is 2-3 times slower than JS in a similar code. What makes Go slow in this specific code?

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gostdext

  • Lots of people don't ever look at channels, and in my experience they are often the simplest but least performant option. With generics its very easy to implement a generic lock free in memory queue which is my current go to for channel optimizations to avoid locks as memory overhead is nbd.

  • go-json

    Fast JSON encoder/decoder compatible with encoding/json for Go

  • go stdlib json encoding/decoding is incredibly slow, not sure for how much longer because there are drop in replacements now that I think are just as strict and feature parity.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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

  • Data storage speed comparisons?

    1 project | /r/golang | 27 Mar 2023
  • Using a json lib other than encoding/json

    2 projects | /r/golang | 23 Mar 2022
  • Fast JSON encoder/decoder compatible with encoding/json for Go

    1 project | /r/golang | 9 Feb 2021
  • Fast JSON encoder/decoder compatible with encoding/json for Go

    1 project | /r/coolgithubprojects | 9 Feb 2021
  • Fast JSON encoder/decoder compatible with encoding/json for Go

    1 project | /r/opensource | 9 Feb 2021