Git Product home page Git Product logo

Comments (1)

schlurp avatar schlurp commented on July 17, 2024

git bisect tells me that commit bfd415d is the first bad commit

git bisect start
# status: waiting for both good and bad commits
# bad: [cfb4ffb5d9847df4f8d5efa5129b27026a83a4a8] `typemap`: switch to IdDict (#1069)
git bisect bad cfb4ffb5d9847df4f8d5efa5129b27026a83a4a8
# status: waiting for good commit(s), bad commit known
# good: [c94256adbe6c2ae017be90ae91976f3b5bb74aa4] bump version
git bisect good c94256adbe6c2ae017be90ae91976f3b5bb74aa4
# bad: [549b1ab03155c8c96485406881addcc65ef914e8] Take dependency on InlineStrings package (#923)
git bisect bad 549b1ab03155c8c96485406881addcc65ef914e8
# good: [f405361298ac09692024c0afdf546df880899223] Bump version
git bisect good f405361298ac09692024c0afdf546df880899223
# bad: [ea9eca2de56470a8e585ae4ee92495a88a632fbb] bump version
git bisect bad ea9eca2de56470a8e585ae4ee92495a88a632fbb
# bad: [17bffa1a5e2bc570e913d1f0bac98e65e3aeb1e4] Overhaul CSV.jl docs (#869)
git bisect bad 17bffa1a5e2bc570e913d1f0bac98e65e3aeb1e4
# bad: [0eaacb4c4d5787a5186dac8edf523ee9052db27f] Keyword argument cleanup in preparation for 1.0 release (#846)
git bisect bad 0eaacb4c4d5787a5186dac8edf523ee9052db27f
# bad: [ffda8d35793eea4f254f51de213527e5ed55359a] Fix nightly
git bisect bad ffda8d35793eea4f254f51de213527e5ed55359a
# bad: [bfd415d0af4c7c1842ecc5b54f1e4a18b125a264] CSV parsing internals refactoring (#837)
git bisect bad bfd415d0af4c7c1842ecc5b54f1e4a18b125a264
# good: [fc209672d0a894954c5dc1e0835e0426b9d2925c] make "Edit on Github" points to main branch (#835)
git bisect good fc209672d0a894954c5dc1e0835e0426b9d2925c
# first bad commit: [bfd415d0af4c7c1842ecc5b54f1e4a18b125a264] CSV parsing internals refactoring (#837)

tested with the script

using CSV
using BenchmarkTools
using Random
using Pkg

Pkg.resolve()
Pkg.status()

Random.seed!(0)
open("test.csv", "w") do f
    for _ in 1:100_000
        write(f, join([randstring('a':'z') for _ in 1:8], ","))
        write(f, "\n")
    end
end
function read(rows)
    bla = 0
    for r in rows
        bla += hash(r.a)
        bla += hash(r.b)
        bla += hash(r.c)
        bla += hash(r.d)
        bla += hash(r.e)
        bla += hash(r.f)
        bla += hash(r.g)
        bla += hash(r.h)
    end
    bla
end

rows = CSV.Rows("test.csv", reusebuffer=true, header=Symbol.('a':'h'))
bench = @benchmarkable read($rows)
tune!(bench)
results = run(bench)
show(stdout::IO, MIME"text/plain"(), results)

from csv.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.