wait interval - time between samples
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 25/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- java
- Domínio
- desktop, performance
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Java
- Estrelas
- 6
- Forks
- 6
- Merge médio
- 10h 11min
- PRs com merge (30d)
- 12
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de JDiskMark/jdm-java
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
enhancement linux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
documentation linux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Publish JDiskMark on FlathubAbertaenhancement linux
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
bug linux
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
Mantenedores costumam responder em até 1 dia
Todas as issues de JDiskMark/jdm-java
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
bloxbean/yaci-store#1445 ·
Mantenedores costumam responder em até 1 dia
-
图片灯箱过长的话底部carousel滑动没有惯性Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
-
Spare PermissionAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
Etar-Group/Etar-Calendar#2234 ·
Mantenedores costumam responder em até 1 dia
-
[BUG] MCP resources-as-tools drops invocation context when listing templatesTalvez já em andamento @CryoThrust assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
langchain4j/langchain4j#7320 ·
Mantenedores costumam responder em até 1 dia