alasconnect / ldap-client Goto Github PK
View Code? Open in Web Editor NEWThis project forked from supki/ldap-client
Pure Haskell LDAP client library
License: BSD 2-Clause "Simplified" License
This project forked from supki/ldap-client
Pure Haskell LDAP client library
License: BSD 2-Clause "Simplified" License
Skimming through the documentation I didn't see anything related to controls or persistent search.
Basically this would be a search operation where the server sends a notification whenever the results change.
So my question is that is that did I just miss it, or is it not supported?
Some additional links:
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 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.