# Simple benchmark for CVS.jl v0.9.11 in Julia 1.6.4

**URL:** <https://discourse.julialang.org/t/simple-benchmark-for-cvs-jl-v0-9-11-in-julia-1-6-4/72140>\
**Category:** Performance\
**Created:** [November 26, 2021, 11:01pm UTC](https://discourse.julialang.org/t/simple-benchmark-for-cvs-jl-v0-9-11-in-julia-1-6-4/72140 "2021-11-26T23:01:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KZiemian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kziemian/32/9020_2.png) [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Post date:** [November 26, 2021, 11:01pm UTC](https://discourse.julialang.org/t/simple-benchmark-for-cvs-jl-v0-9-11-in-julia-1-6-4/72140/1 "2021-11-26T23:01:17Z")

</div>

I try to learn some data science in Julia from Julia Academy’s [_Julia for Data Science_](https://github.com/JuliaAcademy/DataScience/blob/main/01.%20Data.ipynb) and simple benchmark from it is quite surprising for me. I made its code below compact and probably use more packages that it need, just because I don’t know which are needed.

```julia
using BenchmarkTools
using DataFrames
using DelimitedFiles
using CSV
using XLSX
using Downloads

P = Downloads.download("https://raw.githubusercontent.com/nassarhuda/easy_data/master/programming_languages.csv",
    "programming_languages.csv")

@btime P, H = readdlm("programming_languages.csv", ','; header=true);
@btime C = CSV.read("programming_languages.csv", DataFrame);

```

I get result like this.

```julia
125.375 μs (325 allocations: 51.19 KiB)
229.006 μs (428 allocations: 40.95 KiB)

```

Benchmarks show in the [Jupyter notebook](https://github.com/JuliaAcademy/DataScience/blob/main/01.%20Data.ipynb) are below.

```julia
87.708 μs (325 allocations: 51.19 KiB)
35.417 μs (227 allocations: 22.02 KiB)

```

I have CSV.jl v0.9.11 and here is my machine info.

```julia
Julia Version 1.6.4
Commit 35f0c911f4 (2021-11-19 03:54 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, ivybridge)

```

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [November 26, 2021, 11:24pm UTC](https://discourse.julialang.org/t/simple-benchmark-for-cvs-jl-v0-9-11-in-julia-1-6-4/72140/2 "2021-11-26T23:24:47Z")

</div>

Hm, I’d assume `CSV.jl` is optimized for slightly different use cases like [this](https://h2oai.github.io/db-benchmark/) one (and of course it seems to be able to handle quite a bit of degenerate [inputs](https://github.com/JuliaData/CSV.jl/tree/main/test/testfiles)).
