Reopened Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleEdited Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleCommented Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10...
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleCommented Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10...
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleClosed Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleEdited Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10 [32]
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View ArticleNew Post: Running List ForEach using script
This is what i come out with in the endpublic static void forEach(this IEnumerable collection, dynamic action) { int i = 0; foreach (var item in collection) { action(item, i, collection); i++; } }
View ArticleNew Post: Crazy overhead calling V8 functions in a method being invoked for...
Hi people, I'm using ClearScript for some JavaScript integration recently, and noticed that calling a V8 function is exceptionally expensive if the calling method is being invoked for the first time,...
View ArticleNew Post: Crazy overhead calling V8 functions in a method being invoked for...
Hi tadokoro, That's just the way .NET's dynamic infrastructure works. The initial pass through a dynamic call site is expensive, but inline caching greatly speeds up subsequent passes. One possibility,...
View ArticleNew Post: Calling javascript which uses setTimeout/setInterval
For one of the projects, I use some pre-existing java script files and expose them via C# to use in some C# libraries. I am encountering errors while trying to execute java scripts files which uses...
View ArticleNew Post: Calling javascript which uses setTimeout/setInterval
Greetings! ClearScript provides a bare JavaScript environment, whereas the functions you're looking for are part of the Web API, which is typically provided by web browsers. The functions are...
View ArticleNew Post: Highly concurrent server design
Hello xenadu, I have similar scenario like you except the scripts are not 'safe' in my case. Performance is also important in my case so I did some profiling and I created some performance improvements...
View ArticleNew Post: Problem with dynamic Type
hi, i have this source:http://pastebin.de/124823 i add this class to the engine:se.AddHostType("NativeLibraryImporter", typeof(DynamicDllImport)); Usage:dynamic c = js.Evaluate(@"var o = new...
View ArticleNew Post: Problem with dynamic Type
Hi furesoft, First of all, wow, that is some interesting code! A dynamic class for invoking native methods? Very clever. Unfortunately, there are a few issues:In the above, the variable c is undefined...
View ArticleNew Post: Problem with dynamic Type
how can i get the method names from native dll? idk how, its not my wrapper
View ArticleNew Post: extension methods
hello, when i write a extension method to object in c#, can i use it in js?
View ArticleNew Post: function: dynamicly parameters
hi, how can i create a function with a dynamic parameter length?
View ArticleNew Post: Invalid constructor invocation
hi i have an Invalid constructor invocation but all is correct var xhr = new XmlHttpRequest(); xhr.OnLoadFinish = function() { Console.Info(xhr.ResponseText); }; xhr.Open("GET",...
View ArticleNew Post: Problem with dynamic Type
Unfortunately it isn't very simple. Have a look here. Alternatively, you can just fake it. Consider changing your class so that the client code must specify what native methods it intends to call:...
View ArticleNew Post: extension methods
Yes. To make an extension method available for scripting, expose its class via AddHostType().
View Article