How good is the/your Plain Java API performance (create WI, Folder, File)?
Hi everyone!
I've created a small web application which creates different workitems. Additionally it creates a folder and a file (about 3KB) for each workitem in the SCM. It gets the input from a JSON file. Right now it takes about 12 seconds per workitem (+ folder/file). In total I need to create hundreds of workitems, so the whole process takes about 25-40 minutes.
I'm not sure if this is fast or slow and I'm curious if someone has done a similar process and can provide some data about the process time. So what are your experiences about the speed of creating work items per Java API?
I'd really appreciate your comments.
Thank you and have a nice weekend!
Philipp
I've created a small web application which creates different workitems. Additionally it creates a folder and a file (about 3KB) for each workitem in the SCM. It gets the input from a JSON file. Right now it takes about 12 seconds per workitem (+ folder/file). In total I need to create hundreds of workitems, so the whole process takes about 25-40 minutes.
I'm not sure if this is fast or slow and I'm curious if someone has done a similar process and can provide some data about the process time. So what are your experiences about the speed of creating work items per Java API?
I'd really appreciate your comments.
Thank you and have a nice weekend!
Philipp
2 answers
You should start the team platform only once and then use it subsequently. See https://rsjazz.wordpress.com/2013/07/15/boost-your-automation-performance-using-an-automation-server/ I am pretty sure that a part of your 12 seconds is due to that. The Plain Java Client Libraries use exactly the same code the Eclipse client uses. So if you keep the team platform yoiu are a lot faster.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 19 '16, 12:19 p.m.Just for interest's sake, what is the use case that requires creating hundreds of work items automatically? Is it an import process to get data from another SCM system?
Philipp Selle
Mar 19 '16, 12:32 p.m.Hi Geoffrey,
it's an import of different work items types (for example task) to provide information how to perform a certain method.
e.g.
WI summary: "create something"
filed against: "xyz"
planned for: "xyz"
description: "the purpose of this task is... see more (link to SCM folder and file)"
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 20 '16, 1:33 p.m.The reason I asked is that one doesn't want to create separate work items for tasks that do not require a significant amount of work, or that might not be performed (since someone will have to manage the state of all those work items). By a "significant" amount of work, my rule of thumb is that it should take at least half a day. If a task will not require at least half a day of work, or might not need to be performed, I'd recommend capturing it in a lighter weight way, e.g. as an approval or checklist item on a higher level task.