wait interval - time between samples
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- java
- Domaine
- desktop, performance
Piste de recherche
Start with App.java and the jdm.properties loading and saving mentioned in the issue, then trace how Swing worker threads write benchmark samples. The definition of done calls for an Advanced Options dialog, a persisted interval, and per-thread timing so each next write starts only after the interval has elapsed. Verify the setting survives restart and that sample start times are regulated as described.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
add an advanced feature for the user to set a wait interval for their benchmark where a sample write would wait for that interval before writing the next sample. Basically we would take that value and just thread sleep before waiting for the next sample to be written.
This interval could also be referred to as "time between samples"
perhaps a numeric value and a unit can be selected or just a single value where the user would specify mili seconds or seconds.
It would be best to put this on a separate dialog called Advanced Options that can be made visible from the options menu. The wait interval should be saved when set to the jdm.properties file which is loaded at startup.
it is recommended to not just wait for the wait interval and instead after the first sample is written see if the wait interval has passed and if not calculate the time difference remaining before the wait interval, wait for that time and the proceed to write the next sample. this way the start of each sample write will be potentially spaced apart by the wait interval or zero if the wait interval is shorter than the time it takes to write a sample.
note that even though each thread will have the same wait time each thread will need to track it's own last sample write time since threads operate independently of each other.
Definition of Done:
- make sure the frame when brought up is centered over the parent frame
- user can select and tune the "time between samples" parameter
jdm.propertiesupdated on user select and app loads this value on next app startup.- App.java or some global location has this settings stored and loaded so a swing worker can wait before doing each write
- swing worker threads will timestamp each sample write and wait until the duration has fully elapsed before the next sample write. the time between samples writes is regulated by this wait period, not the time between the end of the last sample write and the time of the next sample write.
- Langage dominant
- Java
- Étoiles
- 6
- Forks
- 6
- Merge moyen
- 10 h 11 min
- PR mergées (30 j)
- 12
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de JDiskMark/jdm-java
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement linux
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
documentation linux
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Publish JDiskMark on FlathubOuverteenhancement linux
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
-
bug linux
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de JDiskMark/jdm-java
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
bloxbean/yaci-store#1445 ·
Les mainteneurs répondent en général sous 1 jour
-
图片灯箱过长的话底部carousel滑动没有惯性Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
-
Spare PermissionOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
Etar-Group/Etar-Calendar#2234 ·
Les mainteneurs répondent en général sous 1 jour
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesPeut-être pris @CryoThrust l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
langchain4j/langchain4j#7320 ·
Les mainteneurs répondent en général sous 1 jour