Skip to content

Commit d8fbf9c

Browse files
committed
Add some performance tests
1 parent 92c9fd0 commit d8fbf9c

File tree

7 files changed

+483
-176
lines changed

7 files changed

+483
-176
lines changed

.metadata/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Janelia Open-Source Software (3-clause BSD License)
22

3-
Copyright 2025 Howard Hughes Medical Institute
3+
Copyright 2026 Howard Hughes Medical Institute
44

55
Redistribution and use in source and binary forms, with or without modification,
66
are permitted provided that the following conditions are met:

.metadata/guix/channels.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(url "https://git.guix.gnu.org/guix.git")
1212
(branch "master")
1313
(commit
14-
"92c63391ee25205be3b8525d5d1fe5b9f345f37f")
14+
"425329b1bf64045c8b07c04455fba30142fc8d8b")
1515
(introduction
1616
(make-channel-introduction
1717
"9edb3f66fd807b096b48283debdcddccfea34bad"

.metadata/metadata.org

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ python-arena-interface
2626

2727
#+NAME: version
2828
#+BEGIN_SRC text :exports none :noweb yes
29-
5.0.0
29+
5.1.0
3030
#+END_SRC
3131

3232
#+NAME: description
@@ -285,6 +285,12 @@ arena-interface set-refresh-rate 175
285285
arena-interface switch-grayscale 0 # 0=binary, 1=grayscale
286286
#+END_SRC
287287

288+
**** benchmarking
289+
290+
#+BEGIN_SRC sh
291+
arena-interface --ethernet 192.168.10.104 bench --stream-path ./patterns/pat0004.pat
292+
#+END_SRC
293+
288294
* Installation
289295

290296
[[https://github.com/janelia-python/python_setup]]
@@ -514,7 +520,7 @@ exit
514520
(url "https://git.guix.gnu.org/guix.git")
515521
(branch "master")
516522
(commit
517-
"92c63391ee25205be3b8525d5d1fe5b9f345f37f")
523+
"425329b1bf64045c8b07c04455fba30142fc8d8b")
518524
(introduction
519525
(make-channel-introduction
520526
"9edb3f66fd807b096b48283debdcddccfea34bad"

README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
- [About](#org887b495)
2-
- [Example Usage](#orgbe7894f)
3-
- [Installation](#org28738b5)
4-
- [Development](#org015afca)
1+
- [About](#org0358e8a)
2+
- [Example Usage](#org597a0fd)
3+
- [Installation](#org024f908)
4+
- [Development](#org9f1cfff)
55

66
<!-- This file is generated automatically from metadata -->
77
<!-- File edits may be overwritten! -->
88

99

10-
<a id="org887b495"></a>
10+
<a id="org0358e8a"></a>
1111

1212
# About
1313

1414
```markdown
1515
- Python Package Name: arena_interface
1616
- Description: Python interface to the Reiser lab ArenaController.
17-
- Version: 5.0.0
17+
- Version: 5.1.0
1818
- Python Version: 3.11
19-
- Release Date: 2025-11-05
19+
- Release Date: 2026-03-04
2020
- Creation Date: 2023-10-17
2121
- License: BSD-3-Clause
2222
- URL: https://github.com/janelia-python/arena_interface_python
2323
- Author: Peter Polidoro
2424
- Email: peter@polidoro.io
25-
- Copyright: 2025 Howard Hughes Medical Institute
25+
- Copyright: 2026 Howard Hughes Medical Institute
2626
- References:
2727
- https://github.com/janelia-arduino/ArenaController
2828
- Dependencies:
@@ -32,7 +32,7 @@
3232
```
3333

3434

35-
<a id="orgbe7894f"></a>
35+
<a id="org597a0fd"></a>
3636

3737
# Example Usage
3838

@@ -147,8 +147,14 @@ Options:
147147
arena-interface switch-grayscale 0 # 0=binary, 1=grayscale
148148
```
149149

150+
3. benchmarking
150151

151-
<a id="org28738b5"></a>
152+
```sh
153+
python -m arena_interface.cli --ethernet 192.168.x.x bench --stream-path my.pattern
154+
```
155+
156+
157+
<a id="org024f908"></a>
152158

153159
# Installation
154160

@@ -202,7 +208,7 @@ make guix-container
202208

203209
Udev may be used to detect when a device is plugged into the computer and automatically give permission to open that device.
204210

205-
If you plug a sensor into your computer and attempt to open it and get an error such as: "FATAL: cannot open /dev/ttyACM0: Permission denied", then you need to install udev rules to give permission to open that device.
211+
If you plug a sensor into your computer and attempt to open it and get an error such as: &ldquo;FATAL: cannot open /dev/ttyACM0: Permission denied&rdquo;, then you need to install udev rules to give permission to open that device.
206212

207213
Udev rules may be downloaded as a file and placed in the appropriate directory using these instructions:
208214

@@ -273,7 +279,7 @@ The Python code in this library may be installed in any number of ways, chose on
273279
```
274280

275281

276-
<a id="org015afca"></a>
282+
<a id="org9f1cfff"></a>
277283

278284
# Development
279285

0 commit comments

Comments
 (0)