Khaled, Here is what I think: The code section you are looking at is executed per superstep for each vertex, and is intended for outputs during a superstep. The code section you actually want to look at is "cleanup" in "BspServiceWorker" where it calls "saveVertices" and "saveEdges".
Best, Hassan On 7/22/15, 9:36 AM, "Khaled Ammar" <khaled.am...@gmail.com> wrote: >Hi all, > >I would like to quantify the time Giraph spent in writing to the output >file. I found this line (" vertexWriter.writeVertex(vertex);") in the >class >(ComputeCallable). However, from the source code, it seems like this is >called every iteration which I know does not happen. > >Could someone please explain this to me with some details? > >-- >Thanks, >-Khaled