Skip to content

Map deletion benchmark diagrams ​

Map deletion benchmark

Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.

This view includes 1 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.

Where execution begins ​

Startup ​

It sets iterations to 4000. It stores a context-typed empty collection with no items in owned entries (Map<int,int>). It sets index to 0. While index is less than iterations, it stores index times 3 in entries under index; then it increases index by 1. source

After the loop, it sets index to 0. While index is less than iterations, it removes the key index from entries; then it increases index by 2. After the loop, it sets index to 0. While index is less than iterations, it stores index times 7 in entries under index; then it increases index by 1. source

After the loop, it sets checksum to 0. It sets position to 1. For each key and value in a snapshot of entries, it sets checksum to (checksum plus (key times position)) plus value; then it increases position by 1. After the loop, it prints checksum. source

It prints the number of elements in entries. source

Data flow ​

No calls cross the source files in this view. Follow local operations in the file sequences below.

Open a module ​

ModuleRead
main.augFlow and sequences · Explanation

These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.

Last updated:

The world runs on language