https://github.com/brianpugh/esp-tamp-demo
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Keywords from Contributors
Repository
Basic Info
- Host: GitHub
- Owner: BrianPugh
- Language: C
- Default Branch: main
- Size: 97.7 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Small esp-idf application demonstrating Tamp on the first 100KB of the enwik8 dataset.
Usage
After activating your esp-idf environment, just run (replacing the port with your device's port):
bash
idf.py -p /dev/tty.usbserial-0001 flash monitor
This will compress the first 100KB of the enwik8 dataset and print the compression/decompression performance.
Performance
All benchmarks were performed with:
- Tamp v1.10.0
- esp-idf v5.4
- ESP32 hardware with default settings. Notably:
- 160 MHz
- DIO 2MB flash at 40MHz
The esp-optimizations can be enabled by running idf.py config and enabling/disabling TAMP_ESP32.
Compression
With a 10bit window, the 100,000 byte file compresses to 51637 bytes.
| | Time (s) | Performance Boost | |-----------------|----------|-------------------| | Default | 4.461 | Baseline | | ESP32-Optimized | 1.756 | 2.54x |
Decompression
| | Time (s) | Performance Boost | |-----------------|----------|-------------------| | Default | 0.093 | Baseline |
Local Development
To use a local copy of the tamp component:
- go into
tamp/espidf/tampand runmake - Modify
main/idf_component.ymlto point at that folder; e.g.:
yaml
brianpugh/tamp:
path: ../../tamp/espidf/tamp
- Build and flash. You will have to run
makein thetamp/espidf/tampdirectory each time you make changes to copy the modified files into the "staged" esp-idf component.
Acknowledgement
All esp32-specific optimizations were implemented by @BitsForPeople in his esp-tamp fork.
Owner
- Name: Brian Pugh
- Login: BrianPugh
- Kind: user
- Location: Washington D.C.
- Repositories: 123
- Profile: https://github.com/BrianPugh
Deep Learning Scientist and blockchain enthusiast
GitHub Events
Total
- Issues event: 2
- Issue comment event: 3
- Push event: 4
- Pull request event: 6
- Create event: 1
Last Year
- Issues event: 2
- Issue comment event: 3
- Push event: 4
- Pull request event: 6
- Create event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Brian Pugh | b****7@g****m | 7 |
| pre-commit-ci[bot] | 6****] | 2 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 1
- Total pull requests: 6
- Average time to close issues: about 17 hours
- Average time to close pull requests: 26 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 4.0
- Average comments per pull request: 0.0
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 5
Past Year
- Issues: 1
- Pull requests: 5
- Average time to close issues: about 17 hours
- Average time to close pull requests: 37 minutes
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 4.0
- Average comments per pull request: 0.0
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 4
Top Authors
Issue Authors
- mickeyl (1)
Pull Request Authors
- pre-commit-ci[bot] (6)
- BrianPugh (1)