Giter Site home page Giter Site logo

alasconnect / ldap-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from supki/ldap-client

0.0 0.0 5.0 644 KB

Pure Haskell LDAP client library

License: BSD 2-Clause "Simplified" License

Ruby 0.23% Haskell 67.49% Nix 26.18% Python 0.56% JavaScript 5.53%
haskell ldap

ldap-client's People

Contributors

andreabedini avatar boj avatar glatteis avatar jecaro avatar mizunashi-mana avatar sambolias avatar supki avatar

Watchers

 avatar  avatar

ldap-client's Issues

Performance issue

Getting the result of a request returning 5000 SearchEntry takes about 5 mins on my machine with a local server vs less than a sec using ldapsearch or the haskell bindings.

I'm not sure if the issue is to blame to ldap-client tho, digging a bit into it and it seems the main cost centers are caused by functions from Data.ASN1.* from theses libraries : https://github.com/vincenthz/hs-asn1

	Mon Mar  7 11:22 2022 Time and Allocation Profiling Report  (Final)

	   proto-ldap +RTS -p -RTS

	total time  =      182.49 secs   (182487 ticks @ 1000 us, 1 processor)
	total alloc = 628,984,851,976 bytes  (excludes profiling overheads)

COST CENTRE   MODULE                         SRC                                                %time %alloc

getWord8      Data.ASN1.Get                  Data/ASN1/Get.hs:(200,1)-(204,43)                   45.3   44.7
runParseState Data.ASN1.BinaryEncoding.Parse Data/ASN1/BinaryEncoding/Parse.hs:(79,1)-(135,47)   31.8   32.3
getHeader     Data.ASN1.Serialize            Data/ASN1/Serialize.hs:(22,1)-(26,37)               14.3   12.0
getBytes      Data.ASN1.Get                  Data/ASN1/Get.hs:(191,1)-(197,13)                    8.1   10.8

Reporting cause I think that information needs to be visible somewhere.

Are you aware of this performance issue ?

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.