Comments (7)
Does encoding not do static analysis?
from barista.
I don't expect that part to be slow on average, unless the algorithm isn't implemented properly.
from barista.
Hmm ... You are right: Changing unify
to always return Top
brings down the runtime from 7m30s to 5m12s. So, the encoding is about 4m58s, out of which about 2m18s are spent spinning in symbolic execution. Meanwhile, decoding is about 1m22s. I still think encoding should be faster, but symbolic execution takes more time than I expected.
Here are the estimates again, for ease of reading later:
- decoding 1m20s
- encoding 5m, out of which
- 2m20s searching for fixed-point in type inference
- 2m40s other stuff
from barista.
Wow, so even the other stuff is twice the time of decoding...does that include writing the files?
I share your feeling that the symbolic execution should be faster as well, but I am not really sure why...
from barista.
Decoding includes reading the files; encoding includes writing the files.
from barista.
Ok, then the "other stuff" is definitely too slow, I wonder if it is worth profiling...
from barista.
It is worth profiling, but not this week. :)
from barista.
Related Issues (20)
- padding of stacks during in SymbExe HOT 2
- high-level INVOKE
- the type of ConstantValue_attribute
- symbolic execution is too lenient
- argument--local correspondence HOT 3
- lightweight parsing
- remove old high-level representation HOT 1
- handle LocalVariable(Type)Table
- unknown attributes
- size-agnostic symbolic execution HOT 1
- optimize LDC into ICONST_<n>, ... when possible
- use non-wide instructions in encoding
- packing of two s4 into one s8
- long and double in constant_pool
- long and double in symexec HOT 1
- save line numbers
- support java 8 flag combinations
- Decode all attributes
- Invalid bytecode on Tomcat 7.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barista.