con / con/duct

Using `duct` as a library (in a separate project)

Open
#340 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
6
Avg merge
5d 18h
Merged PRs (30d)
2

Description

_Originally posted by @CodyCBakerPhD in https://github.com/con/duct/issues/327#issuecomment-3618198391_

> So far I haven't got any real-world need for it-- unless youve got one?

I would love to create a benchmarking library that leverages this :) (mentally reserving `con/vent` for this purpose)

Our work on [NWB Benchmarks](https://github.com/NeurodataWithoutBorders/nwb_benchmarks/blob/main/src/nwb_benchmarks/benchmarks/time_download.py#L34) relied on hacking a version of Airspeed Velocity, which set out to do _way_ too much as a package that essentially wrapped `timeit` with an info-capturing layer, rather like `duct`, and as a result was a pain to work with (even though we eventually got something out of it)

Bonus: such benchmarks could serve as the 'batch' call Yarik has previously requested

Contributor guide

Open the contributing guide

Research direction

The proposal is for a separate benchmarking library that leverages duct, and it references NWB Benchmarks' src/nwb_benchmarks/benchmarks/time_download.py and Airspeed Velocity. Start by reading that example and the prior batch-call request mentioned in the issue. The issue does not define implementation scope or clear completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.