Skip to content

why it so slow? #349

Open
Open
@andrewvlgafc

Description

@andrewvlgafc

Hello.

Why this code is so slow?

MyCommit(tr) {

    return new Promise(function (resolve: any, reject: any) {
        var start1 = performance.now()
        tr.commit(function (err: any) {
            var end = performance.now()
            console.log('commitTransaction!!!!!!!!!!!!!',end - start1);	
            resolse()
       }
   }

}

console log say 235 ms !

in statement i have 25 not indexed reads and 4 indexed reads and 3 inserts

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions